Function gclient::ext::sp_core::convert_hash
pub fn convert_hash<H1, H2>(src: &H2) -> H1
Expand description
Hash conversion. Used to convert between unbound associated hash types in traits, implemented by the same hash type. Panics if used to convert between different hash types.