pub struct Hash160Hashing(/* private fields */);
Expand description
Hash160 hash type
Trait Implementations§
Source§impl Clone for Hash160Hashing
impl Clone for Hash160Hashing
Source§fn clone(&self) -> Hash160Hashing
fn clone(&self) -> Hash160Hashing
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 Hash160Hashing
impl Debug for Hash160Hashing
Source§impl<'de> Deserialize<'de> for Hash160Hashing
impl<'de> Deserialize<'de> for Hash160Hashing
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hashing<HASH160_LENGTH> for Hash160Hashing
impl Hashing<HASH160_LENGTH> for Hash160Hashing
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 Hash160Hashing
impl Ord for Hash160Hashing
Source§fn cmp(&self, other: &Hash160Hashing) -> Ordering
fn cmp(&self, other: &Hash160Hashing) -> 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 Hash160Hashing
impl PartialEq for Hash160Hashing
Source§impl PartialOrd for Hash160Hashing
impl PartialOrd for Hash160Hashing
Source§impl Serialize for Hash160Hashing
impl Serialize for Hash160Hashing
impl Copy for Hash160Hashing
impl Eq for Hash160Hashing
impl StructuralPartialEq for Hash160Hashing
Auto Trait Implementations§
impl Freeze for Hash160Hashing
impl RefUnwindSafe for Hash160Hashing
impl Send for Hash160Hashing
impl Sync for Hash160Hashing
impl Unpin for Hash160Hashing
impl UnwindSafe for Hash160Hashing
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