Type Alias atone::Vc

source ·
pub type Vc<T> = CustomVc<T, { _ }>;
Expand description

A VecDeque (and Vec) variant that spreads resize load across pushes.

See the crate-level documentation for details.

Aliased Type§

struct Vc<T> { /* private fields */ }

Trait Implementations§

source§

impl<'de, T> Deserialize<'de> for Vc<T>
where T: Deserialize<'de>,

source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<T> FromParallelIterator<T> for Vc<T>
where T: Send,

source§

fn from_par_iter<I>(par_iter: I) -> Self
where I: IntoParallelIterator<Item = T>,

Creates an instance of the collection from the parallel iterator par_iter. Read more
source§

impl<'a, T: Sync> IntoParallelIterator for &'a Vc<T>

§

type Item = &'a T

The type of item that the parallel iterator will produce.
§

type Iter = Iter<'a, T>

The parallel iterator type that will be created.
source§

fn into_par_iter(self) -> Self::Iter

Converts self into a parallel iterator. Read more
source§

impl<'a, T: Send> IntoParallelIterator for &'a mut Vc<T>

§

type Item = &'a mut T

The type of item that the parallel iterator will produce.
§

type Iter = IterMut<'a, T>

The parallel iterator type that will be created.
source§

fn into_par_iter(self) -> Self::Iter

Converts self into a parallel iterator. Read more
source§

impl<T: Send> IntoParallelIterator for Vc<T>

§

type Item = T

The type of item that the parallel iterator will produce.
§

type Iter = IntoIter<T>

The parallel iterator type that will be created.
source§

fn into_par_iter(self) -> Self::Iter

Converts self into a parallel iterator. Read more
source§

impl<'a, T> ParallelExtend<&'a T> for Vc<T>
where T: 'a + Copy + Send + Sync,

source§

fn par_extend<I>(&mut self, par_iter: I)
where I: IntoParallelIterator<Item = &'a T>,

Extends an instance of the collection with the elements drawn from the parallel iterator par_iter. Read more
source§

impl<T> ParallelExtend<T> for Vc<T>
where T: Send,

source§

fn par_extend<I>(&mut self, par_iter: I)
where I: IntoParallelIterator<Item = T>,

Extends an instance of the collection with the elements drawn from the parallel iterator par_iter. Read more
source§

impl<T> Serialize for Vc<T>
where T: Serialize,

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more