pub struct IdentityDigest<const S: usize>(/* private fields */);
Expand description
Multihash digest.
Trait Implementations§
Source§impl<const S: usize> Clone for IdentityDigest<S>
impl<const S: usize> Clone for IdentityDigest<S>
Source§fn clone(&self) -> IdentityDigest<S>
fn clone(&self) -> IdentityDigest<S>
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 S: usize> Debug for IdentityDigest<S>
impl<const S: usize> Debug for IdentityDigest<S>
Source§impl<const S: usize> Default for IdentityDigest<S>
impl<const S: usize> Default for IdentityDigest<S>
Source§impl<const S: usize> Digest<S> for IdentityDigest<S>
impl<const S: usize> Digest<S> for IdentityDigest<S>
Source§impl<const S: usize> From<IdentityDigest<S>> for [u8; S]
impl<const S: usize> From<IdentityDigest<S>> for [u8; S]
Source§fn from(digest: IdentityDigest<S>) -> Self
fn from(digest: IdentityDigest<S>) -> Self
Converts to this type from the input type.
Source§impl<const S: usize> Hash for IdentityDigest<S>
impl<const S: usize> Hash for IdentityDigest<S>
Source§impl<const S: usize> PartialEq for IdentityDigest<S>
impl<const S: usize> PartialEq for IdentityDigest<S>
impl<const S: usize> Eq for IdentityDigest<S>
impl<const S: usize> StructuralPartialEq for IdentityDigest<S>
Auto Trait Implementations§
impl<const S: usize> Freeze for IdentityDigest<S>
impl<const S: usize> RefUnwindSafe for IdentityDigest<S>
impl<const S: usize> Send for IdentityDigest<S>
impl<const S: usize> Sync for IdentityDigest<S>
impl<const S: usize> Unpin for IdentityDigest<S>
impl<const S: usize> UnwindSafe for IdentityDigest<S>
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