pub struct ConstantsAllocator { /* private fields */ }Implementations§
Source§impl ConstantsAllocator
impl ConstantsAllocator
pub const fn new() -> Self
pub fn allocate( &mut self, size: MemorySize, alignment_enum: MemoryAlignment, ) -> ConstantMemoryAddress
pub fn reset(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConstantsAllocator
impl RefUnwindSafe for ConstantsAllocator
impl Send for ConstantsAllocator
impl Sync for ConstantsAllocator
impl Unpin for ConstantsAllocator
impl UnwindSafe for ConstantsAllocator
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