Trait rune_core::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 Hash

source§

impl IntoHash for Protocol

source§

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