typesize 0.1.14

A library to fetch an accurate estimate of the total memory usage of a value.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::TypeSize;

// These are in std::hash, but older versions require accessing via these paths.
#[cfg(feature = "std")]
crate::sizeof_impl!(
    std::collections::hash_map::RandomState,
    std::collections::hash_map::DefaultHasher
);

impl<H> TypeSize for core::hash::BuildHasherDefault<H> {}