pub struct ConstantsManager { /* private fields */ }Implementations§
Source§impl ConstantsManager
impl ConstantsManager
pub fn new() -> Self
pub fn reserve( &mut self, memory_size: MemorySize, memory_alignment: MemoryAlignment, ) -> ConstantMemoryAddress
pub fn allocate( &mut self, data: &[u8], alignment_enum: MemoryAlignment, ) -> ConstantMemoryAddress
pub fn take_data(self) -> Vec<u8> ⓘ
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConstantsManager
impl RefUnwindSafe for ConstantsManager
impl Send for ConstantsManager
impl Sync for ConstantsManager
impl Unpin for ConstantsManager
impl UnwindSafe for ConstantsManager
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