Trait rustc_ap_rustc_data_structures::snapshot_vec::VecLike[][src]

pub trait VecLike<D>: AsRef<[<D as SnapshotVecDelegate>::Value]> + AsMut<[<D as SnapshotVecDelegate>::Value]> + Rollback<UndoLog<D>> where
    D: SnapshotVecDelegate
{ fn push(&mut self, item: <D as SnapshotVecDelegate>::Value);
fn len(&self) -> usize;
fn reserve(&mut self, size: usize); }

Required methods

fn push(&mut self, item: <D as SnapshotVecDelegate>::Value)[src]

fn len(&self) -> usize[src]

fn reserve(&mut self, size: usize)[src]

Implementations on Foreign Types

impl<'_, D> VecLike<D> for &'_ mut Vec<<D as SnapshotVecDelegate>::Value, Global> where
    D: SnapshotVecDelegate
[src]

pub fn push(&mut self, item: <D as SnapshotVecDelegate>::Value)[src]

pub fn len(&self) -> usize[src]

pub fn reserve(&mut self, size: usize)[src]

impl<D> VecLike<D> for Vec<<D as SnapshotVecDelegate>::Value, Global> where
    D: SnapshotVecDelegate
[src]

pub fn push(&mut self, item: <D as SnapshotVecDelegate>::Value)[src]

pub fn len(&self) -> usize[src]

pub fn reserve(&mut self, size: usize)[src]

Implementors