Trait compact_rc::refcount::RefCount
source · pub trait RefCount {
type Value;
// Required methods
fn one() -> Self;
fn is_one(val: &Self::Value) -> bool;
fn load(&self) -> Self::Value;
fn fetch_inc(&self) -> Self::Value;
fn fetch_dec(&self) -> Self::Value;
}Expand description
Trait for refcount