Struct merkle_search_tree::digest::ValueDigest
source · pub struct ValueDigest<const N: usize>(_);Expand description
Type wrapper over a Digest of a tree value, for readability / clarity /
compile-time safety.
Methods from Deref<Target = Digest<N>>§
Trait Implementations§
source§impl<const N: usize> Clone for ValueDigest<N>
impl<const N: usize> Clone for ValueDigest<N>
source§fn clone(&self) -> ValueDigest<N>
fn clone(&self) -> ValueDigest<N>
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<const N: usize> Debug for ValueDigest<N>
impl<const N: usize> Debug for ValueDigest<N>
source§impl<const N: usize> Deref for ValueDigest<N>
impl<const N: usize> Deref for ValueDigest<N>
source§impl<const N: usize> Display for ValueDigest<N>
impl<const N: usize> Display for ValueDigest<N>
source§impl<const N: usize> PartialEq<ValueDigest<N>> for ValueDigest<N>
impl<const N: usize> PartialEq<ValueDigest<N>> for ValueDigest<N>
source§fn eq(&self, other: &ValueDigest<N>) -> bool
fn eq(&self, other: &ValueDigest<N>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<const N: usize> Eq for ValueDigest<N>
impl<const N: usize> StructuralEq for ValueDigest<N>
impl<const N: usize> StructuralPartialEq for ValueDigest<N>
Auto Trait Implementations§
impl<const N: usize> RefUnwindSafe for ValueDigest<N>
impl<const N: usize> Send for ValueDigest<N>
impl<const N: usize> Sync for ValueDigest<N>
impl<const N: usize> Unpin for ValueDigest<N>
impl<const N: usize> UnwindSafe for ValueDigest<N>
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