[−][src]Function sp_core::hash::convert_hash
pub fn convert_hash<H1: Default + AsMut<[u8]>, H2: AsRef<[u8]>>(src: &H2) -> H1
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.