Trait divans::alloc_util::ShouldClearCacheOnAlloc [−][src]
pub trait ShouldClearCacheOnAlloc<T> { fn should_clear() -> Option<T>; }
Required Methods
fn should_clear() -> Option<T>
Implementors
impl<T: Default> ShouldClearCacheOnAlloc<T> for ClearCacheOnAlloc<T>
impl<T> ShouldClearCacheOnAlloc<T> for UninitializedOnAlloc