Enum trie_db::node::NodeHandle
source · [−]Expand description
A reference to a trie node which may be stored within another trie node.
Variants
Hash(&'a [u8])
Inline(&'a [u8])
Trait Implementations
sourceimpl<'a> Clone for NodeHandle<'a>
impl<'a> Clone for NodeHandle<'a>
sourcefn clone(&self) -> NodeHandle<'a>
fn clone(&self) -> NodeHandle<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for NodeHandle<'a>
impl<'a> Debug for NodeHandle<'a>
sourceimpl<'a> PartialEq<NodeHandle<'a>> for NodeHandle<'a>
impl<'a> PartialEq<NodeHandle<'a>> for NodeHandle<'a>
sourcefn eq(&self, other: &NodeHandle<'a>) -> bool
fn eq(&self, other: &NodeHandle<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NodeHandle<'a>) -> bool
fn ne(&self, other: &NodeHandle<'a>) -> bool
This method tests for !=
.
sourceimpl<'a, HO> TryFrom<NodeHandle<'a>> for ChildReference<HO> where
HO: AsRef<[u8]> + AsMut<[u8]> + Default + Clone + Copy,
impl<'a, HO> TryFrom<NodeHandle<'a>> for ChildReference<HO> where
HO: AsRef<[u8]> + AsMut<[u8]> + Default + Clone + Copy,
impl<'a> Copy for NodeHandle<'a>
impl<'a> Eq for NodeHandle<'a>
impl<'a> StructuralEq for NodeHandle<'a>
impl<'a> StructuralPartialEq for NodeHandle<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for NodeHandle<'a>
impl<'a> Send for NodeHandle<'a>
impl<'a> Sync for NodeHandle<'a>
impl<'a> Unpin for NodeHandle<'a>
impl<'a> UnwindSafe for NodeHandle<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more