Struct merkle_search_tree::digest::PageDigest
source · pub struct PageDigest(_);Expand description
Implementations§
source§impl PageDigest
impl PageDigest
sourcepub const fn new(value: [u8; 16]) -> Self
pub const fn new(value: [u8; 16]) -> Self
Construct a new PageDigest from a raw 16-byte array.
Methods from Deref<Target = Digest<16>>§
Trait Implementations§
source§impl Clone for PageDigest
impl Clone for PageDigest
source§fn clone(&self) -> PageDigest
fn clone(&self) -> PageDigest
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 Debug for PageDigest
impl Debug for PageDigest
source§impl Deref for PageDigest
impl Deref for PageDigest
source§impl Display for PageDigest
impl Display for PageDigest
source§impl From<Digest<16>> for PageDigest
impl From<Digest<16>> for PageDigest
source§impl PartialEq<PageDigest> for PageDigest
impl PartialEq<PageDigest> for PageDigest
source§fn eq(&self, other: &PageDigest) -> bool
fn eq(&self, other: &PageDigest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PageDigest
impl StructuralEq for PageDigest
impl StructuralPartialEq for PageDigest
Auto Trait Implementations§
impl RefUnwindSafe for PageDigest
impl Send for PageDigest
impl Sync for PageDigest
impl Unpin for PageDigest
impl UnwindSafe for PageDigest
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