[][src]Trait grin_core::ser::PMMRIndexHashable

pub trait PMMRIndexHashable {
    fn hash_with_index(&self, index: u64) -> Hash;
}

Generic trait to ensure PMMR elements can be hashed with an index

Required methods

fn hash_with_index(&self, index: u64) -> Hash

Hash with a given index

Loading content...

Implementors

impl<T: DefaultHashable> PMMRIndexHashable for T[src]

Loading content...