Struct std::rc::Weak[src]

pub struct Weak<T> {
    // some fields omitted
}

Weak reference to a reference-counted box

Methods

impl<T> Weak<T>

fn upgrade<T>(&self) -> Option<Rc<T>>

Upgrade a weak reference to a strong reference

Trait Implementations

impl<T> Drop for Weak<T>

fn drop<T>(&mut self)

impl<T> Clone for Weak<T>

fn clone<T>(&self) -> Weak<T>

fn clone_from<T>(&mut self, &Weak<T>)

impl<T> RcBoxPtr<T> for Weak<T>

fn inner<T>(&'a self) -> &'a RcBox<T>

fn strong<T>(&self) -> uint

fn inc_strong<T>(&self)

fn dec_strong<T>(&self)

fn weak<T>(&self) -> uint

fn inc_weak<T>(&self)

fn dec_weak<T>(&self)