Trait rustc_lint::util::snapshot_vec::SnapshotVecDelegateUnstable [-] [+] [src]

pub trait SnapshotVecDelegate {
    type Value;
    type Undo;

    fn reverse(&mut self, values: &mut Vec<Self::Value>, action: Self::Undo);
}

Associated Types

type Value

type Undo

Required Methods

fn reverse(&mut self, values: &mut Vec<Self::Value>, action: Self::Undo)

Implementors