AtomicSharedVector

Type Alias 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.

Aliased Type§

pub struct AtomicSharedVector<T, A = Global> { /* private fields */ }

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>

Source§

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