Struct ash::extensions::khr::WaylandSurface
source · pub struct WaylandSurface { /* private fields */ }
Implementations§
source§impl WaylandSurface
impl WaylandSurface
pub fn new(entry: &Entry, instance: &Instance) -> Self
sourcepub unsafe fn create_wayland_surface(
&self,
create_info: &WaylandSurfaceCreateInfoKHR,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
pub unsafe fn create_wayland_surface( &self, create_info: &WaylandSurfaceCreateInfoKHR, allocation_callbacks: Option<&AllocationCallbacks> ) -> VkResult<SurfaceKHR>
sourcepub unsafe fn get_physical_device_wayland_presentation_support(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
wl_display: &mut wl_display
) -> bool
pub unsafe fn get_physical_device_wayland_presentation_support( &self, physical_device: PhysicalDevice, queue_family_index: u32, wl_display: &mut wl_display ) -> bool
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrWaylandSurfaceFn
pub fn instance(&self) -> Instance
Trait Implementations§
source§impl Clone for WaylandSurface
impl Clone for WaylandSurface
source§fn clone(&self) -> WaylandSurface
fn clone(&self) -> WaylandSurface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for WaylandSurface
impl Send for WaylandSurface
impl Sync for WaylandSurface
impl Unpin for WaylandSurface
impl UnwindSafe for WaylandSurface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more