pub trait IntoTypeHash: Copy {
    fn into_type_hash(self) -> Hash;
    fn into_item(self) -> Option<Item>;
    fn hash<H>(self, hasher: &mut H)
    where
        H: Hasher
; }
Expand description

Helper conversion into a function hash.

Required Methods

Generate a function hash.

Optionally convert into an item, if appropriate.

Hash the current value.

Implementors