Struct vk_mem_alloc::AllocationCreateInfo
source · [−]#[repr(C)]pub struct AllocationCreateInfo {
pub flags: AllocationCreateFlags,
pub usage: MemoryUsage,
pub required_flags: MemoryPropertyFlags,
pub preferred_flags: MemoryPropertyFlags,
pub memory_type_bits: u32,
pub pool: Pool,
pub user_data: *mut c_void,
pub priority: f32,
}Fields
flags: AllocationCreateFlagsusage: MemoryUsagerequired_flags: MemoryPropertyFlagspreferred_flags: MemoryPropertyFlagsmemory_type_bits: u32pool: Pooluser_data: *mut c_voidpriority: f32Trait Implementations
sourceimpl Clone for AllocationCreateInfo
impl Clone for AllocationCreateInfo
sourcefn clone(&self) -> AllocationCreateInfo
fn clone(&self) -> AllocationCreateInfo
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 AllocationCreateInfo
impl Debug for AllocationCreateInfo
sourceimpl Default for AllocationCreateInfo
impl Default for AllocationCreateInfo
impl Copy for AllocationCreateInfo
Auto Trait Implementations
impl RefUnwindSafe for AllocationCreateInfo
impl !Send for AllocationCreateInfo
impl !Sync for AllocationCreateInfo
impl Unpin for AllocationCreateInfo
impl UnwindSafe for AllocationCreateInfo
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