Struct rust_chain::structs::Checksum256
source · [−]Expand description
Fields
data: [u8; 32]
Implementations
sourceimpl Checksum256
impl Checksum256
Trait Implementations
sourceimpl Clone for Checksum256
impl Clone for Checksum256
sourcefn clone(&self) -> Checksum256
fn clone(&self) -> Checksum256
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 more
sourceimpl Default for Checksum256
impl Default for Checksum256
sourcefn default() -> Checksum256
fn default() -> Checksum256
Returns the “default value” for a type. Read more
sourceimpl Packer for Checksum256
impl Packer for Checksum256
sourceimpl PartialEq<Checksum256> for Checksum256
impl PartialEq<Checksum256> for Checksum256
sourcefn eq(&self, other: &Checksum256) -> bool
fn eq(&self, other: &Checksum256) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Checksum256) -> bool
fn ne(&self, other: &Checksum256) -> bool
This method tests for !=
.
sourceimpl TypeInfo for Checksum256
impl TypeInfo for Checksum256
impl Copy for Checksum256
impl Eq for Checksum256
impl StructuralEq for Checksum256
impl StructuralPartialEq for Checksum256
Auto Trait Implementations
impl RefUnwindSafe for Checksum256
impl Send for Checksum256
impl Sync for Checksum256
impl Unpin for Checksum256
impl UnwindSafe for Checksum256
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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 Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
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.