Struct miden_crypto::merkle::RootPath
source · pub struct RootPath {
pub root: RpoDigest,
pub path: MerklePath,
}
Expand description
A container for a MerklePath and its [Word] root.
This structure does not provide any guarantees regarding the correctness of the path to the root. For more information, check MerklePath::verify.
Fields§
§root: RpoDigest
The node value opening for path
.
path: MerklePath
The path from value
to root
(exclusive).
Trait Implementations§
source§impl PartialEq for RootPath
impl PartialEq for RootPath
impl Eq for RootPath
impl StructuralEq for RootPath
impl StructuralPartialEq for RootPath
Auto Trait Implementations§
impl RefUnwindSafe for RootPath
impl Send for RootPath
impl Sync for RootPath
impl Unpin for RootPath
impl UnwindSafe for RootPath
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