pub struct SparseMerkleTree<H> {
pub nodes: Vec<H>,
pub non_empty_leaves_count: u32,
}
Expand description
Fields§
§nodes: Vec<H>
§non_empty_leaves_count: u32
Implementations§
Auto Trait Implementations§
impl<H> Freeze for SparseMerkleTree<H>
impl<H> RefUnwindSafe for SparseMerkleTree<H>where
H: RefUnwindSafe,
impl<H> Send for SparseMerkleTree<H>where
H: Send,
impl<H> Sync for SparseMerkleTree<H>where
H: Sync,
impl<H> Unpin for SparseMerkleTree<H>where
H: Unpin,
impl<H> UnwindSafe for SparseMerkleTree<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