pub struct Compact(/* private fields */);Expand description
Compact metadata for BTreeMap.
It’s either CompactBufHeader cast as u64, or ptr for meta on heap.
NOTE: use NonZeroU64 to optimize Option<BTreeMap>
Trait Implementations§
impl Send for Compact
impl Stats for Compact
impl Sync for Compact
Auto Trait Implementations§
impl Freeze for Compact
impl RefUnwindSafe for Compact
impl Unpin for Compact
impl UnsafeUnpin for Compact
impl UnwindSafe for Compact
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