Struct lpc55::pki::Sha256Hash
source · [−]Tuple Fields
0: [u8; 32]
Trait Implementations
sourceimpl AsRef<[u8]> for Sha256Hash
impl AsRef<[u8]> for Sha256Hash
sourceimpl Clone for Sha256Hash
impl Clone for Sha256Hash
sourcefn clone(&self) -> Sha256Hash
fn clone(&self) -> Sha256Hash
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Sha256Hash
impl Debug for Sha256Hash
sourceimpl Default for Sha256Hash
impl Default for Sha256Hash
sourcefn default() -> Sha256Hash
fn default() -> Sha256Hash
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Sha256Hash
impl<'de> Deserialize<'de> for Sha256Hash
sourcefn 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
sourceimpl From<[u8; 32]> for Sha256Hash
impl From<[u8; 32]> for Sha256Hash
sourceimpl Hash for Sha256Hash
impl Hash for Sha256Hash
sourceimpl Ord for Sha256Hash
impl Ord for Sha256Hash
sourcefn cmp(&self, other: &Sha256Hash) -> Ordering
fn cmp(&self, other: &Sha256Hash) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<Sha256Hash> for Sha256Hash
impl PartialEq<Sha256Hash> for Sha256Hash
sourcefn eq(&self, other: &Sha256Hash) -> bool
fn eq(&self, other: &Sha256Hash) -> bool
sourceimpl PartialOrd<Sha256Hash> for Sha256Hash
impl PartialOrd<Sha256Hash> for Sha256Hash
sourcefn partial_cmp(&self, other: &Sha256Hash) -> Option<Ordering>
fn partial_cmp(&self, other: &Sha256Hash) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for Sha256Hash
impl Serialize for Sha256Hash
impl Copy for Sha256Hash
impl Eq for Sha256Hash
impl StructuralEq for Sha256Hash
impl StructuralPartialEq for Sha256Hash
Auto Trait Implementations
impl RefUnwindSafe for Sha256Hash
impl Send for Sha256Hash
impl Sync for Sha256Hash
impl Unpin for Sha256Hash
impl UnwindSafe for Sha256Hash
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere
T: AsRef<[u8]>,
sourcefn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
) Read moresourcefn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
) Read more