[][src]Struct ash::vk::EntryFnV1_0

pub struct EntryFnV1_0 {
    pub create_instance: extern "system" fn(p_create_info: *const InstanceCreateInfo, p_allocator: *const AllocationCallbacks, p_instance: *mut Instance) -> Result,
    pub enumerate_instance_extension_properties: extern "system" fn(p_layer_name: *const c_char, p_property_count: *mut u32, p_properties: *mut ExtensionProperties) -> Result,
    pub enumerate_instance_layer_properties: extern "system" fn(p_property_count: *mut u32, p_properties: *mut LayerProperties) -> Result,
}

Fields

create_instance: extern "system" fn(p_create_info: *const InstanceCreateInfo, p_allocator: *const AllocationCallbacks, p_instance: *mut Instance) -> Resultenumerate_instance_extension_properties: extern "system" fn(p_layer_name: *const c_char, p_property_count: *mut u32, p_properties: *mut ExtensionProperties) -> Resultenumerate_instance_layer_properties: extern "system" fn(p_property_count: *mut u32, p_properties: *mut LayerProperties) -> Result

Methods

impl EntryFnV1_0[src]

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

pub unsafe fn create_instance(
    &self,
    p_create_info: *const InstanceCreateInfo,
    p_allocator: *const AllocationCallbacks,
    p_instance: *mut Instance
) -> Result
[src]

pub unsafe fn enumerate_instance_extension_properties(
    &self,
    p_layer_name: *const c_char,
    p_property_count: *mut u32,
    p_properties: *mut ExtensionProperties
) -> Result
[src]

pub unsafe fn enumerate_instance_layer_properties(
    &self,
    p_property_count: *mut u32,
    p_properties: *mut LayerProperties
) -> Result
[src]

Trait Implementations

impl Sync for EntryFnV1_0[src]

impl Clone for EntryFnV1_0[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Send for EntryFnV1_0[src]

Auto Trait Implementations

impl Unpin for EntryFnV1_0

impl UnwindSafe for EntryFnV1_0

impl RefUnwindSafe for EntryFnV1_0

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<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> Borrow<T> for T where
    T: ?Sized
[src]

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

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