Struct pilka_incremental::ash::vk::KhrXcbSurfaceFn[]

pub struct KhrXcbSurfaceFn {
    pub create_xcb_surface_khr: extern "system" fn(Instance, *const XcbSurfaceCreateInfoKHR, *const AllocationCallbacks, *mut SurfaceKHR) -> Result,
    pub get_physical_device_xcb_presentation_support_khr: extern "system" fn(PhysicalDevice, u32, *mut c_void, u32) -> u32,
}

Fields

create_xcb_surface_khr: extern "system" fn(Instance, *const XcbSurfaceCreateInfoKHR, *const AllocationCallbacks, *mut SurfaceKHR) -> Resultget_physical_device_xcb_presentation_support_khr: extern "system" fn(PhysicalDevice, u32, *mut c_void, u32) -> u32

Implementations

impl KhrXcbSurfaceFn

pub fn name() -> &'static CStr

impl KhrXcbSurfaceFn

pub fn load<F>(_f: F) -> KhrXcbSurfaceFn where
    F: FnMut(&CStr) -> *const c_void

pub unsafe fn create_xcb_surface_khr(
    &self,
    instance: Instance,
    p_create_info: *const XcbSurfaceCreateInfoKHR,
    p_allocator: *const AllocationCallbacks,
    p_surface: *mut SurfaceKHR
) -> Result

pub unsafe fn get_physical_device_xcb_presentation_support_khr(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32,
    connection: *mut c_void,
    visual_id: u32
) -> u32

Trait Implementations

impl Clone for KhrXcbSurfaceFn

impl Send for KhrXcbSurfaceFn

impl Sync for KhrXcbSurfaceFn

Auto Trait Implementations

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.