Trait type_hash::TypeHash[][src]

pub trait TypeHash {
    pub fn write_hash(hasher: &mut impl Hasher);

    pub fn type_hash() -> u64 { ... }
}

A hash of a type’s structure

Required methods

pub fn write_hash(hasher: &mut impl Hasher)[src]

Write the structure of the type to the hasher

Loading content...

Provided methods

pub fn type_hash() -> u64[src]

Loading content...

Implementations on Foreign Types

impl<A> TypeHash for (A,) where
    A: TypeHash
[src]

impl<A, B, C, D, E, F, G, H, I, J> TypeHash for (A, B, C, D, E, F, G, H, I, J) where
    C: TypeHash,
    E: TypeHash,
    B: TypeHash,
    G: TypeHash,
    F: TypeHash,
    A: TypeHash,
    I: TypeHash,
    H: TypeHash,
    D: TypeHash,
    J: TypeHash
[src]

impl<T> TypeHash for HashSet<T, RandomState> where
    T: TypeHash
[src]

impl TypeHash for NonZeroIsize[src]

impl<T> TypeHash for [T; 14] where
    T: TypeHash
[src]

impl<T> TypeHash for BuildHasherDefault<T> where
    T: TypeHash
[src]

impl<'a, T> TypeHash for &'a T where
    T: TypeHash + ?Sized
[src]

impl TypeHash for usize[src]

impl<T> TypeHash for [T; 18] where
    T: TypeHash
[src]

impl<T> TypeHash for JoinHandle<T> where
    T: TypeHash
[src]

impl TypeHash for i128[src]

impl<T> TypeHash for Rc<T> where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for [T; 28] where
    T: TypeHash
[src]

impl TypeHash for NonZeroUsize[src]

impl TypeHash for u8[src]

impl<T> TypeHash for Mutex<T> where
    T: TypeHash + ?Sized
[src]

impl<'a, T> TypeHash for RefMut<'a, T> where
    T: TypeHash
[src]

impl TypeHash for RangeFull[src]

impl<T> TypeHash for [T; 29] where
    T: TypeHash
[src]

impl TypeHash for PathBuf[src]

impl<T> TypeHash for [T; 30] where
    T: TypeHash
[src]

impl<T> TypeHash for [T; 26] where
    T: TypeHash
[src]

impl<A, B> TypeHash for (A, B) where
    B: TypeHash,
    A: TypeHash
[src]

impl<T> TypeHash for LocalKey<T> where
    T: TypeHash
[src]

impl TypeHash for FpCategory[src]

impl<T> TypeHash for [T; 16] where
    T: TypeHash
[src]

impl<T> TypeHash for Weak<T> where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for LinkedList<T> where
    T: TypeHash
[src]

impl TypeHash for Ipv6Addr[src]

impl TypeHash for bool[src]

impl TypeHash for OsStr[src]

impl TypeHash for SocketAddr[src]

impl TypeHash for AtomicI16[src]

impl<T> TypeHash for [T; 8] where
    T: TypeHash
[src]

impl TypeHash for Thread[src]

impl<T> TypeHash for BTreeSet<T> where
    T: TypeHash
[src]

impl TypeHash for u32[src]

impl TypeHash for CStr[src]

impl<T> TypeHash for Option<T> where
    T: TypeHash
[src]

impl TypeHash for i32[src]

impl<T> TypeHash for *const T where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for [T; 13] where
    T: TypeHash
[src]

impl<K, V> TypeHash for BTreeMap<K, V> where
    K: TypeHash,
    V: TypeHash
[src]

impl TypeHash for i64[src]

impl TypeHash for AtomicIsize[src]

impl TypeHash for AtomicUsize[src]

impl<T> TypeHash for [T; 3] where
    T: TypeHash
[src]

impl<T> TypeHash for [T; 15] where
    T: TypeHash
[src]

impl<T> TypeHash for RangeToInclusive<T> where
    T: TypeHash
[src]

impl<T> TypeHash for VecDeque<T> where
    T: TypeHash
[src]

impl<T> TypeHash for [T; 6] where
    T: TypeHash
[src]

impl<T> TypeHash for [T; 31] where
    T: TypeHash
[src]

impl<T> TypeHash for [T; 20] where
    T: TypeHash
[src]

impl<'a, T> TypeHash for RwLockWriteGuard<'a, T> where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for MaybeUninit<T> where
    T: TypeHash
[src]

impl<T> TypeHash for Vec<T, Global> where
    T: TypeHash
[src]

impl<T> TypeHash for [T] where
    T: TypeHash
[src]

impl TypeHash for CString[src]

impl TypeHash for Instant[src]

impl<T> TypeHash for RangeInclusive<T> where
    T: TypeHash
[src]

impl<A, B, C, D, E, F, G> TypeHash for (A, B, C, D, E, F, G) where
    C: TypeHash,
    E: TypeHash,
    B: TypeHash,
    G: TypeHash,
    F: TypeHash,
    A: TypeHash,
    D: TypeHash
[src]

impl<T> TypeHash for [T; 12] where
    T: TypeHash
[src]

impl TypeHash for AtomicBool[src]

impl<T> TypeHash for [T; 7] where
    T: TypeHash
[src]

impl TypeHash for str[src]

impl<A, B, C, D, E, F, G, H, I> TypeHash for (A, B, C, D, E, F, G, H, I) where
    C: TypeHash,
    E: TypeHash,
    B: TypeHash,
    G: TypeHash,
    F: TypeHash,
    A: TypeHash,
    I: TypeHash,
    H: TypeHash,
    D: TypeHash
[src]

impl<T> TypeHash for [T; 27] where
    T: TypeHash
[src]

impl<T> TypeHash for [T; 22] where
    T: TypeHash
[src]

impl<T> TypeHash for NonNull<T> where
    T: TypeHash + ?Sized
[src]

impl TypeHash for u128[src]

impl<T, E> TypeHash for Result<T, E> where
    E: TypeHash,
    T: TypeHash
[src]

impl TypeHash for u16[src]

impl<T> TypeHash for [T; 32] where
    T: TypeHash
[src]

impl TypeHash for NonZeroI16[src]

impl TypeHash for NonZeroI8[src]

impl TypeHash for AtomicI64[src]

impl<T> TypeHash for [T; 17] where
    T: TypeHash
[src]

impl TypeHash for Duration[src]

impl<T> TypeHash for UnsafeCell<T> where
    T: TypeHash
[src]

impl<T> TypeHash for PhantomData<T> where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for [T; 19] where
    T: TypeHash
[src]

impl TypeHash for AtomicU64[src]

impl<T> TypeHash for [T; 21] where
    T: TypeHash
[src]

impl<T> TypeHash for Sender<T> where
    T: TypeHash
[src]

impl TypeHash for Ipv4Addr[src]

impl<T> TypeHash for RefCell<T> where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for *mut T where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for SyncSender<T> where
    T: TypeHash
[src]

impl TypeHash for IpAddr[src]

impl<'a, T> TypeHash for Cow<'a, T> where
    T: TypeHash + ToOwned + ?Sized
[src]

impl TypeHash for NonZeroU128[src]

impl<T> TypeHash for Receiver<T> where
    T: TypeHash
[src]

impl TypeHash for NonZeroI128[src]

impl TypeHash for char[src]

impl<A, B, C> TypeHash for (A, B, C) where
    C: TypeHash,
    B: TypeHash,
    A: TypeHash
[src]

impl TypeHash for Builder[src]

impl TypeHash for AtomicI32[src]

impl<T> TypeHash for [T; 24] where
    T: TypeHash
[src]

impl<T> TypeHash for [T; 4] where
    T: TypeHash
[src]

impl<T> TypeHash for [T; 9] where
    T: TypeHash
[src]

impl<T> TypeHash for [T; 0] where
    T: TypeHash
[src]

impl<A, B, C, D, E> TypeHash for (A, B, C, D, E) where
    C: TypeHash,
    E: TypeHash,
    B: TypeHash,
    A: TypeHash,
    D: TypeHash
[src]

impl TypeHash for AtomicI8[src]

impl<T> TypeHash for RangeTo<T> where
    T: TypeHash
[src]

impl<T> TypeHash for Range<T> where
    T: TypeHash
[src]

impl TypeHash for Ordering[src]

impl<T> TypeHash for [T; 10] where
    T: TypeHash
[src]

impl TypeHash for NonZeroI32[src]

impl TypeHash for Path[src]

impl TypeHash for SocketAddrV6[src]

impl<'a, T> TypeHash for Ref<'a, T> where
    T: TypeHash + ?Sized
[src]

impl TypeHash for u64[src]

impl<T> TypeHash for Arc<T> where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for BinaryHeap<T> where
    T: TypeHash
[src]

impl TypeHash for ()[src]

impl TypeHash for i8[src]

impl TypeHash for isize[src]

impl TypeHash for NonZeroU32[src]

impl TypeHash for String[src]

impl<A, B, C, D, E, F, G, H, I, J, K> TypeHash for (A, B, C, D, E, F, G, H, I, J, K) where
    C: TypeHash,
    E: TypeHash,
    B: TypeHash,
    K: TypeHash,
    G: TypeHash,
    F: TypeHash,
    A: TypeHash,
    I: TypeHash,
    H: TypeHash,
    D: TypeHash,
    J: TypeHash
[src]

impl<T> TypeHash for Box<T, Global> where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for Wrapping<T> where
    T: TypeHash
[src]

impl<'a, T> TypeHash for RwLockReadGuard<'a, T> where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for Reverse<T> where
    T: TypeHash
[src]

impl<A, B, C, D> TypeHash for (A, B, C, D) where
    C: TypeHash,
    B: TypeHash,
    A: TypeHash,
    D: TypeHash
[src]

impl TypeHash for c_void[src]

impl TypeHash for NonZeroI64[src]

impl<T> TypeHash for [T; 2] where
    T: TypeHash
[src]

impl TypeHash for NonZeroU64[src]

impl<T> TypeHash for [T; 1] where
    T: TypeHash
[src]

impl<T> TypeHash for [T; 11] where
    T: TypeHash
[src]

impl<T> TypeHash for [T; 23] where
    T: TypeHash
[src]

impl<T> TypeHash for Weak<T> where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for RwLock<T> where
    T: TypeHash + ?Sized
[src]

impl<'a, T> TypeHash for &'a mut T where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for [T; 5] where
    T: TypeHash
[src]

impl TypeHash for NonZeroU16[src]

impl TypeHash for AtomicU8[src]

impl<T> TypeHash for [T; 25] where
    T: TypeHash
[src]

impl TypeHash for AtomicU32[src]

impl TypeHash for TypeId[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L> TypeHash for (A, B, C, D, E, F, G, H, I, J, K, L) where
    C: TypeHash,
    E: TypeHash,
    B: TypeHash,
    K: TypeHash,
    G: TypeHash,
    F: TypeHash,
    A: TypeHash,
    I: TypeHash,
    H: TypeHash,
    D: TypeHash,
    J: TypeHash,
    L: TypeHash
[src]

impl TypeHash for f64[src]

impl<A, B, C, D, E, F, G, H> TypeHash for (A, B, C, D, E, F, G, H) where
    C: TypeHash,
    E: TypeHash,
    B: TypeHash,
    G: TypeHash,
    F: TypeHash,
    A: TypeHash,
    H: TypeHash,
    D: TypeHash
[src]

impl<K, V> TypeHash for HashMap<K, V, RandomState> where
    K: TypeHash,
    V: TypeHash
[src]

impl TypeHash for i16[src]

impl TypeHash for SystemTime[src]

impl<T> TypeHash for AtomicPtr<T> where
    T: TypeHash
[src]

impl TypeHash for OsString[src]

impl<T> TypeHash for ManuallyDrop<T> where
    T: TypeHash + ?Sized
[src]

impl<T> TypeHash for RangeFrom<T> where
    T: TypeHash
[src]

impl TypeHash for NonZeroU8[src]

impl<A, B, C, D, E, F> TypeHash for (A, B, C, D, E, F) where
    C: TypeHash,
    E: TypeHash,
    B: TypeHash,
    F: TypeHash,
    A: TypeHash,
    D: TypeHash
[src]

impl<T> TypeHash for Bound<T> where
    T: TypeHash
[src]

impl TypeHash for ThreadId[src]

impl<T> TypeHash for Pin<T> where
    T: TypeHash
[src]

impl<T> TypeHash for Cell<T> where
    T: TypeHash + ?Sized
[src]

impl TypeHash for AtomicU16[src]

impl TypeHash for Once[src]

impl TypeHash for f32[src]

impl TypeHash for SocketAddrV4[src]

Loading content...

Implementors

Loading content...