Struct ash::khr::wayland_surface::Instance
source · pub struct Instance {
pub(crate) fp: InstanceFn,
pub(crate) handle: Instance,
}
Expand description
VK_KHR_wayland_surface instance-level functions
Fields§
§fp: InstanceFn
§handle: Instance
Implementations§
source§impl Instance
impl Instance
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
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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