pub struct PoolOptions<'a> {
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 next: *mut c_void,
/* private fields */
}Fields§
§memory_type_index: u32§flags: PoolCreateFlags§block_size: DeviceSize§min_block_count: usize§max_block_count: usize§priority: f32§min_allocation_alignment: DeviceSize§next: *mut c_voidImplementations§
Source§impl<'a> PoolOptions<'a>
impl<'a> PoolOptions<'a>
pub fn push_next<T>(self, next: &'a mut impl Cast<Target = T>) -> Selfwhere
T: ExtendsMemoryAllocateInfo,
Trait Implementations§
Source§impl<'a> Clone for PoolOptions<'a>
impl<'a> Clone for PoolOptions<'a>
Source§fn clone(&self) -> PoolOptions<'a>
fn clone(&self) -> PoolOptions<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for PoolOptions<'a>
Source§impl<'a> Debug for PoolOptions<'a>
impl<'a> Debug for PoolOptions<'a>
Auto Trait Implementations§
impl<'a> !Send for PoolOptions<'a>
impl<'a> !Sync for PoolOptions<'a>
impl<'a> Freeze for PoolOptions<'a>
impl<'a> RefUnwindSafe for PoolOptions<'a>
impl<'a> Unpin for PoolOptions<'a>
impl<'a> UnsafeUnpin for PoolOptions<'a>
impl<'a> UnwindSafe for PoolOptions<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more