Struct crossbeam::sync::ArcCell [] [src]

pub struct ArcCell<T>(_, _);

A type providing atomic storage and retrieval of an Arc<T>.

Methods

impl<T> ArcCell<T>
[src]

Creates a new ArcCell.

Stores a new value in the ArcCell, returning the previous value.

Returns a copy of the value stored by the ArcCell.

Trait Implementations

impl<T: Debug> Debug for ArcCell<T>
[src]

Formats the value using the given formatter.

impl<T> Drop for ArcCell<T>
[src]

A method called when the value goes out of scope. Read more