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]

[src]

Creates a new ArcCell.

[src]

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

[src]

Returns a copy of the value stored by the ArcCell.

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

[src]

Executes the destructor for this type. Read more