pub struct Identity256(/* private fields */);Expand description
Canonical 256-bit identity, preserving byte order without native-word conversion.
Implementations§
Trait Implementations§
Source§impl Clone for Identity256
impl Clone for Identity256
Source§fn clone(&self) -> Identity256
fn clone(&self) -> Identity256
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Identity256
Source§impl Debug for Identity256
impl Debug for Identity256
Source§impl Default for Identity256
impl Default for Identity256
Source§fn default() -> Identity256
fn default() -> Identity256
Returns the “default value” for a type. Read more
impl Eq for Identity256
Source§impl Hash for Identity256
impl Hash for Identity256
Source§impl PartialEq for Identity256
impl PartialEq for Identity256
impl StructuralPartialEq for Identity256
Auto Trait Implementations§
impl Freeze for Identity256
impl RefUnwindSafe for Identity256
impl Send for Identity256
impl Sync for Identity256
impl Unpin for Identity256
impl UnsafeUnpin for Identity256
impl UnwindSafe for Identity256
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more