SharedVector

Type Alias SharedVector 

Source
pub type SharedVector<T, A = Global> = RefCountedVector<T, DefaultRefCount, A>;
Expand description

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

See RefCountedVector.

Aliased Type§

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

Trait Implementations§

Source§

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

Source§

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

Converts to this type from the input type.