Struct graphannis_malloc_size_of::Measurable[][src]

pub struct Measurable<T: MallocSizeOf>(pub T);

Measurable that defers to inner value and used to verify MallocSizeOf implementation in a struct.

Trait Implementations

impl<T: Clone + MallocSizeOf> Clone for Measurable<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: MallocSizeOf> Deref for Measurable<T>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<T: MallocSizeOf> DerefMut for Measurable<T>
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<T> Send for Measurable<T> where
    T: Send

impl<T> Sync for Measurable<T> where
    T: Sync