[][src]Struct ash::vk::KhrWaylandSurfaceFn

pub struct KhrWaylandSurfaceFn {
    pub create_wayland_surface_khr: extern "system" fn(instance: Instance, p_create_info: *const WaylandSurfaceCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR) -> Result,
    pub get_physical_device_wayland_presentation_support_khr: extern "system" fn(physical_device: PhysicalDevice, queue_family_index: u32, display: *mut wl_display) -> Bool32,
}

Fields

create_wayland_surface_khr: extern "system" fn(instance: Instance, p_create_info: *const WaylandSurfaceCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR) -> Resultget_physical_device_wayland_presentation_support_khr: extern "system" fn(physical_device: PhysicalDevice, queue_family_index: u32, display: *mut wl_display) -> Bool32

Methods

impl KhrWaylandSurfaceFn[src]

pub fn name() -> &'static CStr[src]

impl KhrWaylandSurfaceFn[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn create_wayland_surface_khr(
    &self,
    instance: Instance,
    p_create_info: *const WaylandSurfaceCreateInfoKHR,
    p_allocator: *const AllocationCallbacks,
    p_surface: *mut SurfaceKHR
) -> Result
[src]

pub unsafe fn get_physical_device_wayland_presentation_support_khr(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32,
    display: *mut wl_display
) -> Bool32
[src]

Trait Implementations

impl Clone for KhrWaylandSurfaceFn[src]

impl Send for KhrWaylandSurfaceFn[src]

impl Sync for KhrWaylandSurfaceFn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrWaylandSurfaceFn

impl Unpin for KhrWaylandSurfaceFn

impl UnwindSafe for KhrWaylandSurfaceFn

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.