[][src]Trait generic_std::WeakRcb

pub trait WeakRcb<T> {
    type Strong: Rcb<T>;
    fn upgrade(&self) -> Option<Self::Strong>;
}

Trait for weak pointers to reference-counted boxes.

Associated Types

type Strong: Rcb<T>

Loading content...

Required methods

fn upgrade(&self) -> Option<Self::Strong>

Loading content...

Implementations on Foreign Types

impl<T> WeakRcb<T> for Weak<T>[src]

type Strong = Rc<T>

impl<T> WeakRcb<T> for Weak<T>[src]

type Strong = Arc<T>

Loading content...

Implementors

Loading content...