pub trait WeakRcb<T> {
type Strong: Rcb<T>;
// Required method
fn upgrade(&self) -> Option<Self::Strong>;
}
Expand description
Trait for weak pointers to reference-counted boxes.
pub trait WeakRcb<T> {
type Strong: Rcb<T>;
// Required method
fn upgrade(&self) -> Option<Self::Strong>;
}
Trait for weak pointers to reference-counted boxes.