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 for NodeHandleOwned<H>
impl<H: PartialEq> PartialEq 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> StructuralPartialEq for NodeHandleOwned<H>
Auto Trait Implementations§
impl<H> Freeze for NodeHandleOwned<H>where
H: Freeze,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)