pub struct DoubleSha256Hashing(/* private fields */);
Expand description
The DoubleSha256 hashing type
Trait Implementations§
Source§impl Clone for DoubleSha256Hashing
impl Clone for DoubleSha256Hashing
Source§fn clone(&self) -> DoubleSha256Hashing
fn clone(&self) -> DoubleSha256Hashing
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 Debug for DoubleSha256Hashing
impl Debug for DoubleSha256Hashing
Source§impl Hashing<SHA256_LENGTH> for DoubleSha256Hashing
impl Hashing<SHA256_LENGTH> for DoubleSha256Hashing
Source§fn from_bytes(bytes: &[u8]) -> StacksResult<Self>
fn from_bytes(bytes: &[u8]) -> StacksResult<Self>
Attempt to create a hash from the given bytes
Source§impl Ord for DoubleSha256Hashing
impl Ord for DoubleSha256Hashing
Source§fn cmp(&self, other: &DoubleSha256Hashing) -> Ordering
fn cmp(&self, other: &DoubleSha256Hashing) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DoubleSha256Hashing
impl PartialEq for DoubleSha256Hashing
Source§impl PartialOrd for DoubleSha256Hashing
impl PartialOrd for DoubleSha256Hashing
impl Copy for DoubleSha256Hashing
impl Eq for DoubleSha256Hashing
impl StructuralPartialEq for DoubleSha256Hashing
Auto Trait Implementations§
impl Freeze for DoubleSha256Hashing
impl RefUnwindSafe for DoubleSha256Hashing
impl Send for DoubleSha256Hashing
impl Sync for DoubleSha256Hashing
impl Unpin for DoubleSha256Hashing
impl UnwindSafe for DoubleSha256Hashing
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