Struct ash::vk::ExtPrivateDataFn[][src]

pub struct ExtPrivateDataFn {
    pub create_private_data_slot_ext: extern "system" fn(device: Device, p_create_info: *const PrivateDataSlotCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_private_data_slot: *mut PrivateDataSlotEXT) -> Result,
    pub destroy_private_data_slot_ext: extern "system" fn(device: Device, private_data_slot: PrivateDataSlotEXT, p_allocator: *const AllocationCallbacks),
    pub set_private_data_ext: extern "system" fn(device: Device, object_type: ObjectType, object_handle: u64, private_data_slot: PrivateDataSlotEXT, data: u64) -> Result,
    pub get_private_data_ext: extern "system" fn(device: Device, object_type: ObjectType, object_handle: u64, private_data_slot: PrivateDataSlotEXT, p_data: *mut u64),
}

Fields

create_private_data_slot_ext: extern "system" fn(device: Device, p_create_info: *const PrivateDataSlotCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_private_data_slot: *mut PrivateDataSlotEXT) -> Resultdestroy_private_data_slot_ext: extern "system" fn(device: Device, private_data_slot: PrivateDataSlotEXT, p_allocator: *const AllocationCallbacks)set_private_data_ext: extern "system" fn(device: Device, object_type: ObjectType, object_handle: u64, private_data_slot: PrivateDataSlotEXT, data: u64) -> Resultget_private_data_ext: extern "system" fn(device: Device, object_type: ObjectType, object_handle: u64, private_data_slot: PrivateDataSlotEXT, p_data: *mut u64)

Implementations

impl ExtPrivateDataFn[src]

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

pub const SPEC_VERSION: u32[src]

impl ExtPrivateDataFn[src]

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

pub unsafe fn create_private_data_slot_ext(
    &self,
    device: Device,
    p_create_info: *const PrivateDataSlotCreateInfoEXT,
    p_allocator: *const AllocationCallbacks,
    p_private_data_slot: *mut PrivateDataSlotEXT
) -> Result
[src]

pub unsafe fn destroy_private_data_slot_ext(
    &self,
    device: Device,
    private_data_slot: PrivateDataSlotEXT,
    p_allocator: *const AllocationCallbacks
)
[src]

pub unsafe fn set_private_data_ext(
    &self,
    device: Device,
    object_type: ObjectType,
    object_handle: u64,
    private_data_slot: PrivateDataSlotEXT,
    data: u64
) -> Result
[src]

pub unsafe fn get_private_data_ext(
    &self,
    device: Device,
    object_type: ObjectType,
    object_handle: u64,
    private_data_slot: PrivateDataSlotEXT,
    p_data: *mut u64
)
[src]

Trait Implementations

impl Clone for ExtPrivateDataFn[src]

impl Send for ExtPrivateDataFn[src]

impl Sync for ExtPrivateDataFn[src]

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.