Struct near_primitives_core::hash::Digest [−][src]
Trait Implementations
impl<__AsRefT: ?Sized> AsRef<__AsRefT> for Digest where
[u8; 32]: AsRef<__AsRefT>,
[src]
[u8; 32]: AsRef<__AsRefT>,
impl Clone for Digest
[src]
impl Copy for Digest
[src]
impl Eq for Digest
[src]
impl Ord for Digest
[src]
fn cmp(&self, other: &Digest) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Digest> for Digest
[src]
impl PartialOrd<Digest> for Digest
[src]
fn partial_cmp(&self, other: &Digest) -> Option<Ordering>
[src]
fn lt(&self, other: &Digest) -> bool
[src]
fn le(&self, other: &Digest) -> bool
[src]
fn gt(&self, other: &Digest) -> bool
[src]
fn ge(&self, other: &Digest) -> bool
[src]
impl StructuralEq for Digest
[src]
impl StructuralPartialEq for Digest
[src]
Auto Trait Implementations
impl RefUnwindSafe for Digest
[src]
impl Send for Digest
[src]
impl Sync for Digest
[src]
impl Unpin for Digest
[src]
impl UnwindSafe for Digest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
pub fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
pub fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,