Trait hashdb::AsHashDB[][src]

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

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