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

pub trait VecLike<D>: Rollback<UndoLog<D>> + AsRef<[<D as SnapshotVecDelegate>::Value]> + AsMut<[<D as SnapshotVecDelegate>::Value]> 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)

fn len(&self) -> usize

fn reserve(&mut self, size: usize)

Loading content...

Implementations on Foreign Types

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

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

Loading content...

Implementors

Loading content...