pub struct Node<H> {
pub hash: H,
pub level: usize,
pub children: Vec<H>,
}Expand description
A node in a tree.
Fields§
§hash: H§level: usizeThe level of the node.
children: Vec<H>The children of the node.
Trait Implementations§
Auto Trait Implementations§
impl<H> Freeze for Node<H>where
H: Freeze,
impl<H> RefUnwindSafe for Node<H>where
H: RefUnwindSafe,
impl<H> Send for Node<H>where
H: Send,
impl<H> Sync for Node<H>where
H: Sync,
impl<H> Unpin for Node<H>where
H: Unpin,
impl<H> UnwindSafe for Node<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