pub struct NodeIdCell(/* private fields */);Expand description
A node id or none in one word, where Cell<Option<NodeId>> takes two: a
layout node keeps three, and the 24 bytes kept it out of jemalloc’s
640-byte size class.
Implementations§
Source§impl NodeIdCell
impl NodeIdCell
Auto Trait Implementations§
impl !Freeze for NodeIdCell
impl !RefUnwindSafe for NodeIdCell
impl !Sync for NodeIdCell
impl Forget for NodeIdCell
impl Send for NodeIdCell
impl Unpin for NodeIdCell
impl UnsafeUnpin for NodeIdCell
impl UnwindSafe for NodeIdCell
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