Enum trie_db::triedbmut::ChildReference
source · pub enum ChildReference<HO> {
Hash(HO),
Inline(HO, usize),
}
Expand description
Used to build a collection of child nodes from a collection of NodeHandle
s
Variants§
Trait Implementations§
source§impl<HO: Clone> Clone for ChildReference<HO>
impl<HO: Clone> Clone for ChildReference<HO>
source§fn clone(&self) -> ChildReference<HO>
fn clone(&self) -> ChildReference<HO>
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<HO: Debug> Debug for ChildReference<HO>
impl<HO: Debug> Debug for ChildReference<HO>
source§impl<'a, HO> TryFrom<NodeHandle<'a>> for ChildReference<HO>
impl<'a, HO> TryFrom<NodeHandle<'a>> for ChildReference<HO>
impl<HO: Copy> Copy for ChildReference<HO>
Auto Trait Implementations§
impl<HO> Freeze for ChildReference<HO>where
HO: Freeze,
impl<HO> RefUnwindSafe for ChildReference<HO>where
HO: RefUnwindSafe,
impl<HO> Send for ChildReference<HO>where
HO: Send,
impl<HO> Sync for ChildReference<HO>where
HO: Sync,
impl<HO> Unpin for ChildReference<HO>where
HO: Unpin,
impl<HO> UnwindSafe for ChildReference<HO>where
HO: 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