pub struct ExtPrivateDataFn {
pub create_private_data_slot_ext: unsafe extern "system" fn(Device, *const PrivateDataSlotCreateInfo, *const AllocationCallbacks, *mut PrivateDataSlot) -> Result,
pub destroy_private_data_slot_ext: unsafe extern "system" fn(Device, PrivateDataSlot, *const AllocationCallbacks),
pub set_private_data_ext: unsafe extern "system" fn(Device, ObjectType, u64, PrivateDataSlot, u64) -> Result,
pub get_private_data_ext: unsafe extern "system" fn(Device, ObjectType, u64, PrivateDataSlot, *mut u64),
}Fields
create_private_data_slot_ext: unsafe extern "system" fn(Device, *const PrivateDataSlotCreateInfo, *const AllocationCallbacks, *mut PrivateDataSlot) -> Resultdestroy_private_data_slot_ext: unsafe extern "system" fn(Device, PrivateDataSlot, *const AllocationCallbacks)set_private_data_ext: unsafe extern "system" fn(Device, ObjectType, u64, PrivateDataSlot, u64) -> Resultget_private_data_ext: unsafe extern "system" fn(Device, ObjectType, u64, PrivateDataSlot, *mut u64)Implementations
Trait Implementations
sourceimpl Clone for ExtPrivateDataFn
impl Clone for ExtPrivateDataFn
sourcefn clone(&self) -> ExtPrivateDataFn
fn clone(&self) -> ExtPrivateDataFn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Send for ExtPrivateDataFn
impl Sync for ExtPrivateDataFn
Auto Trait Implementations
impl RefUnwindSafe for ExtPrivateDataFn
impl Unpin for ExtPrivateDataFn
impl UnwindSafe for ExtPrivateDataFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more