Trait heapsize::HeapSizeOf
[−]
[src]
pub trait HeapSizeOf { fn heap_size_of_children(&self) -> usize; }
Required Methods
fn heap_size_of_children(&self) -> usize
Measure the size of any heap-allocated structures that hang off this value, but not the
space taken up by the value itself (i.e. what size_of::
Implementors
impl<T: HeapSizeOf + ?Sized> HeapSizeOf for Box<T>
impl<T: HeapSizeOf> HeapSizeOf for [T]
impl HeapSizeOf for String
impl<'a, T: ?Sized> HeapSizeOf for &'a T
impl<T: ?Sized> HeapSizeOf for *mut T
impl<T: ?Sized> HeapSizeOf for *const T
impl<T: HeapSizeOf> HeapSizeOf for Option<T>
impl<T: HeapSizeOf, E: HeapSizeOf> HeapSizeOf for Result<T, E>
impl<'a, B: ?Sized + ToOwned> HeapSizeOf for Cow<'a, B> where B::Owned: HeapSizeOf
impl HeapSizeOf for ()
impl<T1, T2> HeapSizeOf for (T1, T2) where T1: HeapSizeOf, T2: HeapSizeOf
impl<T1, T2, T3> HeapSizeOf for (T1, T2, T3) where T1: HeapSizeOf,
T2: HeapSizeOf,
T3: HeapSizeOfimpl<T1, T2, T3, T4> HeapSizeOf for (T1, T2, T3, T4) where T1: HeapSizeOf,
T2: HeapSizeOf,
T3: HeapSizeOf,
T4: HeapSizeOfimpl<T1, T2, T3, T4, T5> HeapSizeOf for (T1, T2, T3, T4, T5) where T1: HeapSizeOf,
T2: HeapSizeOf,
T3: HeapSizeOf,
T4: HeapSizeOf,
T5: HeapSizeOfimpl<T: HeapSizeOf> HeapSizeOf for Arc<T>
impl<T: HeapSizeOf> HeapSizeOf for RefCell<T>
impl<T: HeapSizeOf + Copy> HeapSizeOf for Cell<T>
impl<T: HeapSizeOf> HeapSizeOf for Vec<T>
impl<T: HeapSizeOf> HeapSizeOf for VecDeque<T>
impl<T> HeapSizeOf for Vec<Rc<T>>
impl<T: HeapSizeOf, S> HeapSizeOf for HashSet<T, S> where T: Eq + Hash,
S: BuildHasherimpl<K: HeapSizeOf, V: HeapSizeOf, S> HeapSizeOf for HashMap<K, V, S> where K: Eq + Hash,
S: BuildHasherimpl<T> HeapSizeOf for PhantomData<T>
impl<T: HeapSizeOf> HeapSizeOf for LinkedList<T>
impl<K: HeapSizeOf, V: HeapSizeOf> HeapSizeOf for BTreeMap<K, V>
impl HeapSizeOf for char
impl HeapSizeOf for str
impl HeapSizeOf for u8
impl HeapSizeOf for u16
impl HeapSizeOf for u32
impl HeapSizeOf for u64
impl HeapSizeOf for usize
impl HeapSizeOf for i8
impl HeapSizeOf for i16
impl HeapSizeOf for i32
impl HeapSizeOf for i64
impl HeapSizeOf for isize
impl HeapSizeOf for bool
impl HeapSizeOf for f32
impl HeapSizeOf for f64
impl HeapSizeOf for AtomicBool
impl HeapSizeOf for AtomicIsize
impl HeapSizeOf for AtomicUsize
impl HeapSizeOf for Ipv4Addr
impl HeapSizeOf for Ipv6Addr