Struct vk_mem_alloc::PoolCreateInfo
source · [−]#[repr(C)]pub struct PoolCreateInfo {
pub memory_type_index: u32,
pub flags: PoolCreateFlags,
pub block_size: DeviceSize,
pub min_block_count: usize,
pub max_block_count: usize,
pub priority: f32,
pub min_allocation_alignment: DeviceSize,
pub memory_allocate_next: *mut c_void,
}
Fields
memory_type_index: u32
flags: PoolCreateFlags
block_size: DeviceSize
min_block_count: usize
max_block_count: usize
priority: f32
min_allocation_alignment: DeviceSize
memory_allocate_next: *mut c_void
Trait Implementations
sourceimpl Clone for PoolCreateInfo
impl Clone for PoolCreateInfo
sourcefn clone(&self) -> PoolCreateInfo
fn clone(&self) -> PoolCreateInfo
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 PoolCreateInfo
impl Debug for PoolCreateInfo
sourceimpl Default for PoolCreateInfo
impl Default for PoolCreateInfo
impl Copy for PoolCreateInfo
Auto Trait Implementations
impl RefUnwindSafe for PoolCreateInfo
impl !Send for PoolCreateInfo
impl !Sync for PoolCreateInfo
impl Unpin for PoolCreateInfo
impl UnwindSafe for PoolCreateInfo
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