Struct incrementalmerkletree::MerklePath
source · pub struct MerklePath<H, const DEPTH: u8> { /* private fields */ }
Expand description
A path from a position in a particular commitment tree to the root of that tree.
Implementations§
source§impl<H, const DEPTH: u8> MerklePath<H, DEPTH>
impl<H, const DEPTH: u8> MerklePath<H, DEPTH>
Trait Implementations§
source§impl<H: Clone, const DEPTH: u8> Clone for MerklePath<H, DEPTH>
impl<H: Clone, const DEPTH: u8> Clone for MerklePath<H, DEPTH>
source§fn clone(&self) -> MerklePath<H, DEPTH>
fn clone(&self) -> MerklePath<H, DEPTH>
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: PartialEq, const DEPTH: u8> PartialEq for MerklePath<H, DEPTH>
impl<H: PartialEq, const DEPTH: u8> PartialEq for MerklePath<H, DEPTH>
source§fn eq(&self, other: &MerklePath<H, DEPTH>) -> bool
fn eq(&self, other: &MerklePath<H, DEPTH>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<H: Eq, const DEPTH: u8> Eq for MerklePath<H, DEPTH>
impl<H, const DEPTH: u8> StructuralPartialEq for MerklePath<H, DEPTH>
Auto Trait Implementations§
impl<H, const DEPTH: u8> Freeze for MerklePath<H, DEPTH>
impl<H, const DEPTH: u8> RefUnwindSafe for MerklePath<H, DEPTH>where
H: RefUnwindSafe,
impl<H, const DEPTH: u8> Send for MerklePath<H, DEPTH>where
H: Send,
impl<H, const DEPTH: u8> Sync for MerklePath<H, DEPTH>where
H: Sync,
impl<H, const DEPTH: u8> Unpin for MerklePath<H, DEPTH>where
H: Unpin,
impl<H, const DEPTH: u8> UnwindSafe for MerklePath<H, DEPTH>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