Struct arc_cell::ArcCell
[−]
[src]
pub struct ArcCell<T> { /* fields omitted */ }
A Cell for containing a strong reference
Methods
impl<T> ArcCell<T>
[src]
fn new(value: Arc<T>) -> ArcCell<T>
Constructs an ArcCell which initially points to value
fn get(&self) -> Arc<T>
Get the pointer contained in this cell as it exists at this moment
fn set(&self, value: Arc<T>) -> Arc<T>
Set the pointer for the next observer