[][src]Struct storage_proofs::hasher::blake2s::Blake2sDomain

pub struct Blake2sDomain(pub [u8; 32]);

Trait Implementations

impl Domain for Blake2sDomain[src]

impl HashFunction<Blake2sDomain> for Blake2sFunction[src]

fn hash_leaf(data: &dyn LightHashable<Self>) -> T[src]

fn hash_single_node(data: &dyn LightHashable<Self>) -> T[src]

impl Default for Blake2sDomain[src]

impl PartialEq<Blake2sDomain> for Blake2sDomain[src]

impl Clone for Blake2sDomain[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialOrd<Blake2sDomain> for Blake2sDomain[src]

impl Ord for Blake2sDomain[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl AsRef<[u8]> for Blake2sDomain[src]

impl Into<Blake2sDomain> for Blake2sHash[src]

impl From<Fr> for Blake2sDomain[src]

impl From<FrRepr> for Blake2sDomain[src]

impl From<Blake2sDomain> for Fr[src]

impl From<[u8; 32]> for Blake2sDomain[src]

impl From<Blake2sDomain> for [u8; 32][src]

impl Copy for Blake2sDomain[src]

impl Eq for Blake2sDomain[src]

impl Debug for Blake2sDomain[src]

impl Serialize for Blake2sDomain[src]

impl<'de> Deserialize<'de> for Blake2sDomain[src]

impl Rand for Blake2sDomain[src]

impl Hashable<Blake2sFunction> for Blake2sDomain[src]

fn hash_slice(data: &[Self], state: &mut H)[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Algorithm<Blake2sDomain> for Blake2sFunction[src]

impl Element for Blake2sDomain[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,