pub struct DrawSlotAllocator { /* private fields */ }Expand description
Hands out draw-record slots, reusing vacated ones before growing.
Implementations§
Source§impl DrawSlotAllocator
impl DrawSlotAllocator
Sourcepub fn with_len(len: usize) -> Self
pub fn with_len(len: usize) -> Self
Start with len slots already in use (the draw objects built at init).
Trait Implementations§
Source§impl Debug for DrawSlotAllocator
impl Debug for DrawSlotAllocator
Source§impl Default for DrawSlotAllocator
impl Default for DrawSlotAllocator
Source§fn default() -> DrawSlotAllocator
fn default() -> DrawSlotAllocator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DrawSlotAllocator
impl RefUnwindSafe for DrawSlotAllocator
impl Send for DrawSlotAllocator
impl Sync for DrawSlotAllocator
impl Unpin for DrawSlotAllocator
impl UnsafeUnpin for DrawSlotAllocator
impl UnwindSafe for DrawSlotAllocator
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