rune::hash

Trait IntoHash

Source
pub trait IntoHash: Sealed {
    // Required method
    fn into_hash(self) -> Hash;
}
Expand description

Trait for types which can be converted into a Hash.

Required Methods§

Source

fn into_hash(self) -> Hash

Convert current type into a hash.

Implementations on Foreign Types§

Source§

impl IntoHash for &str

Implementors§

Source§

impl IntoHash for &Protocol

Source§

impl IntoHash for Hash

Source§

impl<T, const N: usize> IntoHash for Params<T, N>
where T: IntoHash,