[][src]Trait dashcache::CanCollect

pub trait CanCollect {
    fn can_collect(&self) -> bool { ... }
fn can_collect_clone(&self) -> bool { ... } }

An object which can be garbage collected

Provided methods

fn can_collect(&self) -> bool

Is this handle unique or, if weak references are allowed, destroyed

fn can_collect_clone(&self) -> bool

Are there two strong copies or less of this handle?

Loading content...

Implementations on Foreign Types

impl<T: ?Sized> CanCollect for Arc<T>[src]

fn can_collect(&self) -> bool[src]

Is this handle unique or, if weak references are allowed, destroyed

fn can_collect_clone(&self) -> bool[src]

Are there two strong copies or less of this handle?

Loading content...

Implementors

impl<A: Eq + Deref, P> CanCollect for CachedArr<A, P>[src]

Loading content...