## VecLike

# Trait VecLike

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

## Implementations on Foreign Types§

§

### impl<D> VecLike<D> for &mut Vec<<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)

§

### impl<D> VecLike<D> for Vec<<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)

## Implementors§