[][src]Struct vk_sys::EntryPoints

pub struct EntryPoints {
    pub CreateInstance: extern "system" fn(_: *const InstanceCreateInfo, _: *const AllocationCallbacks, _: *mut Instance) -> Result,
    pub EnumerateInstanceExtensionProperties: extern "system" fn(_: *const c_char, _: *mut u32, _: *mut ExtensionProperties) -> Result,
    pub EnumerateInstanceLayerProperties: extern "system" fn(_: *mut u32, _: *mut LayerProperties) -> Result,
}

Fields

CreateInstance: extern "system" fn(_: *const InstanceCreateInfo, _: *const AllocationCallbacks, _: *mut Instance) -> ResultEnumerateInstanceExtensionProperties: extern "system" fn(_: *const c_char, _: *mut u32, _: *mut ExtensionProperties) -> ResultEnumerateInstanceLayerProperties: extern "system" fn(_: *mut u32, _: *mut LayerProperties) -> Result

Methods

impl EntryPoints[src]

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

pub unsafe fn CreateInstance(
    &self,
    pCreateInfo: *const InstanceCreateInfo,
    pAllocator: *const AllocationCallbacks,
    pInstance: *mut Instance
) -> Result
[src]

pub unsafe fn EnumerateInstanceExtensionProperties(
    &self,
    pLayerName: *const c_char,
    pPropertyCount: *mut u32,
    pProperties: *mut ExtensionProperties
) -> Result
[src]

pub unsafe fn EnumerateInstanceLayerProperties(
    &self,
    pPropertyCount: *mut u32,
    pProperties: *mut LayerProperties
) -> Result
[src]

Trait Implementations

impl Send for EntryPoints[src]

impl Sync for EntryPoints[src]

impl Debug for EntryPoints[src]

Auto Trait Implementations

impl Unpin for EntryPoints

impl UnwindSafe for EntryPoints

impl RefUnwindSafe for EntryPoints

Blanket Implementations

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

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

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.

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

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

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