pub trait BigEndianHash {
    type Uint;

    // Required methods
    fn from_uint(val: &Self::Uint) -> Self;
    fn into_uint(&self) -> Self::Uint;
}

Required Associated Types§

type Uint

Required Methods§

fn from_uint(val: &Self::Uint) -> Self

fn into_uint(&self) -> Self::Uint

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl BigEndianHash for H128

§

type Uint = U128

§

fn from_uint(value: &U128) -> H128

§

fn into_uint(&self) -> U128

§

impl BigEndianHash for H512

§

type Uint = U512

§

fn from_uint(value: &U512) -> H512

§

fn into_uint(&self) -> U512

Implementors§