[][src]Struct eosio::Checksum160

pub struct Checksum160(_);

Methods

impl Checksum160[src]

#[must_use] pub const fn words(&self) -> [u128; 2][src]

#[must_use] pub fn to_bytes(&self) -> [u8; 20][src]

TODO docs.

#[must_use] pub fn from_bytes(bytes: [u8; 20]) -> Self[src]

Trait Implementations

impl AsRef<Checksum160> for Checksum160[src]

impl Clone for Checksum160[src]

impl Copy for Checksum160[src]

impl Debug for Checksum160[src]

impl Default for Checksum160[src]

impl From<[u8; 20]> for Checksum160[src]

impl From<Checksum160> for [u8; 20][src]

impl From<Checksum160> for SecondaryKey[src]

impl NumBytes for Checksum160[src]

impl PartialEq<[u128; 2]> for Checksum160[src]

impl PartialEq<[u128]> for Checksum160[src]

impl PartialEq<[u8; 20]> for Checksum160[src]

impl PartialEq<Checksum160> for Checksum160[src]

impl<'_> PartialEq<Checksum160> for &'_ [u128][src]

impl PartialEq<Checksum160> for [u128; 2][src]

impl PartialEq<Checksum160> for [u8; 20][src]

impl PartialOrd<Checksum160> for Checksum160[src]

impl Read for Checksum160[src]

impl StructuralPartialEq for Checksum160[src]

impl Write for Checksum160[src]

Auto Trait Implementations

impl Send for Checksum160

impl Sync for Checksum160

impl Unpin for Checksum160

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.