Struct cfx_storage::MaybeNodeRefDeltaMptCompact
source · pub struct MaybeNodeRefDeltaMptCompact { /* private fields */ }
Implementations§
source§impl MaybeNodeRefDeltaMptCompact
impl MaybeNodeRefDeltaMptCompact
pub const NULL: CompactNodeRef = 0u32
pub const NULL_NODE: MaybeNodeRefDeltaMptCompact = _
pub fn new(value: CompactNodeRef) -> Self
Trait Implementations§
source§impl Clone for MaybeNodeRefDeltaMptCompact
impl Clone for MaybeNodeRefDeltaMptCompact
source§fn clone(&self) -> MaybeNodeRefDeltaMptCompact
fn clone(&self) -> MaybeNodeRefDeltaMptCompact
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MaybeNodeRefDeltaMptCompact
impl Debug for MaybeNodeRefDeltaMptCompact
source§impl From<MaybeNodeRefDeltaMptCompact> for Option<NodeRefDeltaMpt>
impl From<MaybeNodeRefDeltaMptCompact> for Option<NodeRefDeltaMpt>
source§fn from(x: MaybeNodeRefDeltaMptCompact) -> Self
fn from(x: MaybeNodeRefDeltaMptCompact) -> Self
Converts to this type from the input type.
source§impl From<Option<NodeRefDeltaMpt>> for MaybeNodeRefDeltaMptCompact
impl From<Option<NodeRefDeltaMpt>> for MaybeNodeRefDeltaMptCompact
source§fn from(maybe_node: Option<NodeRefDeltaMpt>) -> Self
fn from(maybe_node: Option<NodeRefDeltaMpt>) -> Self
Converts to this type from the input type.
source§impl MallocSizeOf for MaybeNodeRefDeltaMptCompact
impl MallocSizeOf for MaybeNodeRefDeltaMptCompact
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq for MaybeNodeRefDeltaMptCompact
impl PartialEq for MaybeNodeRefDeltaMptCompact
source§fn eq(&self, other: &MaybeNodeRefDeltaMptCompact) -> bool
fn eq(&self, other: &MaybeNodeRefDeltaMptCompact) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MaybeNodeRefDeltaMptCompact
impl Eq for MaybeNodeRefDeltaMptCompact
impl StructuralPartialEq for MaybeNodeRefDeltaMptCompact
Auto Trait Implementations§
impl RefUnwindSafe for MaybeNodeRefDeltaMptCompact
impl Send for MaybeNodeRefDeltaMptCompact
impl Sync for MaybeNodeRefDeltaMptCompact
impl Unpin for MaybeNodeRefDeltaMptCompact
impl UnwindSafe for MaybeNodeRefDeltaMptCompact
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