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
fn as_hashdb(&self) -> &HashDB<H>
Perform upcast to HashDB for anything that derives from HashDB.
fn as_hashdb_mut(&mut self) -> &mut HashDB<H>
Perform mutable upcast to HashDB for anything that derives from HashDB.