Struct vk_mem_alloc::DeviceMemoryCallbacks
source · [−]#[repr(C)]pub struct DeviceMemoryCallbacks {
pub pfn_allocate: AllocateDeviceMemoryFunction,
pub pfn_free: FreeDeviceMemoryFunction,
pub user_data: *mut c_void,
}
Fields
pfn_allocate: AllocateDeviceMemoryFunction
pfn_free: FreeDeviceMemoryFunction
user_data: *mut c_void
Trait Implementations
sourceimpl Clone for DeviceMemoryCallbacks
impl Clone for DeviceMemoryCallbacks
sourcefn clone(&self) -> DeviceMemoryCallbacks
fn clone(&self) -> DeviceMemoryCallbacks
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
sourceimpl Debug for DeviceMemoryCallbacks
impl Debug for DeviceMemoryCallbacks
sourceimpl Default for DeviceMemoryCallbacks
impl Default for DeviceMemoryCallbacks
impl Copy for DeviceMemoryCallbacks
Auto Trait Implementations
impl RefUnwindSafe for DeviceMemoryCallbacks
impl !Send for DeviceMemoryCallbacks
impl !Sync for DeviceMemoryCallbacks
impl Unpin for DeviceMemoryCallbacks
impl UnwindSafe for DeviceMemoryCallbacks
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