#![doc=include_str!("../README.md")]#[cfg(docsrs)]pubmodexamples;/// Query the number of bytes of an object.
pubtraitHeapSize{/// Return the number of bytes it owns on the heap.
fnheap_size(&self)->usize;/// Return the number of bytes it owns on both the heap and the stack.
fnmemory_size(&self)->usizewhereSelf: Sized,
{core::mem::size_of::<Self>()+self.heap_size()}}modimpls;