Struct disarray_ledger::NumberHash
source · pub struct NumberHash(pub Bytes);
Tuple Fields
0: Bytes
Trait Implementations
sourceimpl Clone for NumberHash
impl Clone for NumberHash
sourcefn clone(&self) -> NumberHash
fn clone(&self) -> NumberHash
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 NumberHash
impl Debug for NumberHash
sourceimpl Default for NumberHash
impl Default for NumberHash
sourcefn default() -> NumberHash
fn default() -> NumberHash
Returns the “default value” for a type. Read more
sourceimpl From<u32> for NumberHash
impl From<u32> for NumberHash
sourceimpl Hash for NumberHash
impl Hash for NumberHash
sourceimpl PartialEq<NumberHash> for NumberHash
impl PartialEq<NumberHash> for NumberHash
sourcefn eq(&self, other: &NumberHash) -> bool
fn eq(&self, other: &NumberHash) -> bool
impl Eq for NumberHash
impl StructuralEq for NumberHash
impl StructuralPartialEq for NumberHash
Auto Trait Implementations
impl RefUnwindSafe for NumberHash
impl Send for NumberHash
impl Sync for NumberHash
impl Unpin for NumberHash
impl UnwindSafe for NumberHash
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.