typesize 0.1.15

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

sizeof_impl!(core::time::Duration);

#[cfg(feature = "std")]
sizeof_impl!(std::time::Instant, std::time::SystemTime);