Struct vk_mem_alloc::AllocationInfo
source · [−]#[repr(C)]pub struct AllocationInfo {
pub memory_type: u32,
pub device_memory: DeviceMemory,
pub offset: DeviceSize,
pub size: DeviceSize,
pub mapped_data: *mut c_void,
pub user_data: *mut c_void,
pub name: *const c_char,
}
Fields
memory_type: u32
device_memory: DeviceMemory
offset: DeviceSize
size: DeviceSize
mapped_data: *mut c_void
user_data: *mut c_void
name: *const c_char
Trait Implementations
sourceimpl Clone for AllocationInfo
impl Clone for AllocationInfo
sourcefn clone(&self) -> AllocationInfo
fn clone(&self) -> AllocationInfo
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 AllocationInfo
impl Debug for AllocationInfo
sourceimpl Default for AllocationInfo
impl Default for AllocationInfo
impl Copy for AllocationInfo
Auto Trait Implementations
impl RefUnwindSafe for AllocationInfo
impl !Send for AllocationInfo
impl !Sync for AllocationInfo
impl Unpin for AllocationInfo
impl UnwindSafe for AllocationInfo
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