Trait hashed_type_def::HashedTypeDef
source · pub trait HashedTypeDef<REF = ()> {
const TYPE_HASH_NATIVE: u128;
const TYPE_HASH_LE: u128 = _;
const TYPE_HASH_BE: u128 = _;
}
Expand description
Type hash code definition; derive macro for this trait is based on 128bit FNV-1a computed from the type definition
Required Associated Constants§
sourceconst TYPE_HASH_NATIVE: u128
const TYPE_HASH_NATIVE: u128
native hash computation
Provided Associated Constants§
sourceconst TYPE_HASH_LE: u128 = _
const TYPE_HASH_LE: u128 = _
hash encoded to little endianess
sourceconst TYPE_HASH_BE: u128 = _
const TYPE_HASH_BE: u128 = _
hash encoded to big endianess
Object Safety§
This trait is not object safe.