Trait alloc::rc::RcInnerPtr

source ·
trait RcInnerPtr {
    // Required methods
    fn weak_ref(&self) -> &Cell<usize>;
    fn strong_ref(&self) -> &Cell<usize>;

    // Provided methods
    fn strong(&self) -> usize { ... }
    fn inc_strong(&self) { ... }
    fn dec_strong(&self) { ... }
    fn weak(&self) -> usize { ... }
    fn inc_weak(&self) { ... }
    fn dec_weak(&self) { ... }
}

Required Methods§

source

fn weak_ref(&self) -> &Cell<usize>

source

fn strong_ref(&self) -> &Cell<usize>

Provided Methods§

source

fn strong(&self) -> usize

source

fn inc_strong(&self)

source

fn dec_strong(&self)

source

fn weak(&self) -> usize

source

fn inc_weak(&self)

source

fn dec_weak(&self)

Implementors§