Type Definition shared_vector::AtomicSharedVector

source ·
pub type AtomicSharedVector<T, A = Global> = RefCountedVector<T, AtomicRefCount, A>;
Expand description

A heap allocated, atomically reference counted, immutable contiguous buffer containing elements of type T.

See RefCountedVector.

Trait Implementations§

source§

impl<T: Clone, A: Allocator + Clone> From<Vector<T, A>> for AtomicSharedVector<T, A>

source§

fn from(vector: Vector<T, A>) -> Self

Converts to this type from the input type.
source§

impl<T: Sync, A: Allocator + Send> Send for AtomicSharedVector<T, A>