Expand description
A record of a visited node.
Fields
depth: u32
The depth of this node.
data: Vec<u8>
The raw data of the node.
hash: HO
The hash of the data.
Trait Implementations
impl<HO: Eq> Eq for Record<HO>
impl<HO> StructuralEq for Record<HO>
impl<HO> StructuralPartialEq for Record<HO>
Auto Trait Implementations
impl<HO> RefUnwindSafe for Record<HO> where
HO: RefUnwindSafe,
impl<HO> Send for Record<HO> where
HO: Send,
impl<HO> Sync for Record<HO> where
HO: Sync,
impl<HO> Unpin for Record<HO> where
HO: Unpin,
impl<HO> UnwindSafe for Record<HO> where
HO: UnwindSafe,
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