Trait hashdb::AsHashDB[][src]

pub trait AsHashDB<H: Hasher, T> {
    fn as_hashdb(&self) -> &HashDB<H, T>;
fn as_hashdb_mut(&mut self) -> &mut HashDB<H, T>; }

Upcast trait.

Required Methods

Perform upcast to HashDB for anything that derives from HashDB.

Perform mutable upcast to HashDB for anything that derives from HashDB.

Implementors