pub struct ValueDigest<const N: usize>(/* private fields */);
Expand description
Type wrapper over a Digest
of a tree value, for readability / clarity /
compile-time safety.
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 duplicate 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 for ValueDigest<N>
impl<const N: usize> PartialEq for ValueDigest<N>
impl<const N: usize> Eq for ValueDigest<N>
impl<const N: usize> StructuralPartialEq for ValueDigest<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for ValueDigest<N>
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