pub struct ChimeraMiscAllocation { /* private fields */ }Available on crate feature
chimera only.Expand description
An allocation of memory using the chimera misc allocator.
The allocator used for this memory can be modified or accessed with
crate::alloc::chimera::set_chimera_misc_allocator() and
crate::alloc::chimera::get_chimera_misc_allocator() if the "alloc"
feature is enabled.
The backing memory will be deallocated by the chimera misc allocator
upon drop unless this is wrapped with a
ManuallyDrop.
Implementations§
Trait Implementations§
Source§impl Debug for ChimeraMiscAllocation
impl Debug for ChimeraMiscAllocation
Source§impl Drop for ChimeraMiscAllocation
impl Drop for ChimeraMiscAllocation
impl Send for ChimeraMiscAllocation
Auto Trait Implementations§
impl !Sync for ChimeraMiscAllocation
impl Freeze for ChimeraMiscAllocation
impl RefUnwindSafe for ChimeraMiscAllocation
impl Unpin for ChimeraMiscAllocation
impl UnsafeUnpin for ChimeraMiscAllocation
impl UnwindSafe for ChimeraMiscAllocation
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