Struct miden_crypto::merkle::EmptySubtreeRoots
source · pub struct EmptySubtreeRoots;
Expand description
Contains precomputed roots of empty subtrees in a Merkle tree.
Implementations§
source§impl EmptySubtreeRoots
impl EmptySubtreeRoots
sourcepub const fn empty_hashes(depth: u8) -> &'static [RpoDigest]
pub const fn empty_hashes(depth: u8) -> &'static [RpoDigest]
Returns a static slice with roots of empty subtrees of a Merkle tree starting at the specified depth.
Auto Trait Implementations§
impl RefUnwindSafe for EmptySubtreeRoots
impl Send for EmptySubtreeRoots
impl Sync for EmptySubtreeRoots
impl Unpin for EmptySubtreeRoots
impl UnwindSafe for EmptySubtreeRoots
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