pub fn new<F: FnOnce(&V) -> H>(hash_func: F, value: V) -> Self {
        Hashed {
            hash: hash_func(&value),
            value,
        }
    }
/// Create a `<Hashed<H, V>` object by apply a hash function to a value.
Create a `` object by apply a hash function to a value.
Create a ` ` object by apply a hash function to a value .
pub fn new<F: FnOnce(&V) -> H>(hash_func: F, value: V) -> Self {
        Hashed {
            hash: hash_func(&value),
            value,
        }
    }
pub fn new < F : FnOnce ( & V ) -> H > ( hash_func : F , value : V ) -> Self { Hashed { hash : hash_func ( & value ) , value , } }
Create a `<Hashed<H, V>` object by apply a hash function to a value.
Create a ` <Hashed<H V > ` object by apply a hash function to a value .
hash_func
F
value
V
hash_func
F
value
V