Trait SnapshotVecDelegate
rustc_ap_rustc_data_structures::snapshot_vec
pub trait SnapshotVecDelegate { type Value; type Undo; fn reverse(values: &mut Vec<Self::Value>, action: Self::Undo); }
type Value
type Undo
fn reverse(values: &mut Vec<Self::Value>, action: Self::Undo)
impl SnapshotVecDelegate for i32
type Value = i32
type Undo = ()
fn reverse(&mut Vec<i32>, ())
impl<N> SnapshotVecDelegate for Edge<N>
type Value = Edge<N>
fn reverse(_: &mut Vec<Edge<N>>, _: ())
impl<N> SnapshotVecDelegate for Node<N>
type Value = Node<N>
fn reverse(_: &mut Vec<Node<N>>, _: ())