struct BestFitMeta {
size: usize,
next: Option<NonNull<u8>>,
}Expand description
The metadata that is before any block in the BestFitAllocator.
Fields§
§size: usizeThe size of the block in bytes.
next: Option<NonNull<u8>>The pointer to the next free block. This is None if the block is allocated.
Auto Trait Implementations§
impl Freeze for BestFitMeta
impl RefUnwindSafe for BestFitMeta
impl !Send for BestFitMeta
impl !Sync for BestFitMeta
impl Unpin for BestFitMeta
impl UnwindSafe for BestFitMeta
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