Enum trie_db::node::NodeHandleOwned
source · pub enum NodeHandleOwned<H> {
Hash(H),
Inline(Box<NodeOwned<H>>),
}
Expand description
Owned version of NodeHandleOwned
.
Variants§
Implementations§
Trait Implementations§
source§impl<H: Clone> Clone for NodeHandleOwned<H>
impl<H: Clone> Clone for NodeHandleOwned<H>
source§fn clone(&self) -> NodeHandleOwned<H>
fn clone(&self) -> NodeHandleOwned<H>
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<H: Debug> Debug for NodeHandleOwned<H>
impl<H: Debug> Debug for NodeHandleOwned<H>
source§impl<H: PartialEq> PartialEq<NodeHandleOwned<H>> for NodeHandleOwned<H>
impl<H: PartialEq> PartialEq<NodeHandleOwned<H>> for NodeHandleOwned<H>
source§fn eq(&self, other: &NodeHandleOwned<H>) -> bool
fn eq(&self, other: &NodeHandleOwned<H>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<H: Eq> Eq for NodeHandleOwned<H>
impl<H> StructuralEq for NodeHandleOwned<H>
impl<H> StructuralPartialEq for NodeHandleOwned<H>
Auto Trait Implementations§
impl<H> RefUnwindSafe for NodeHandleOwned<H>where H: RefUnwindSafe,
impl<H> Send for NodeHandleOwned<H>where H: Send,
impl<H> Sync for NodeHandleOwned<H>where H: Sync,
impl<H> Unpin for NodeHandleOwned<H>where H: Unpin,
impl<H> UnwindSafe for NodeHandleOwned<H>where H: UnwindSafe,
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