Trait rustc_ap_rustc_data_structures::snapshot_vec::SnapshotVecDelegate[][src]

pub trait SnapshotVecDelegate {
    type Value;
    type Undo;
    fn reverse(values: &mut Vec<Self::Value, Global>, action: Self::Undo);
}

Associated Types

Required methods

fn reverse(values: &mut Vec<Self::Value, Global>, action: Self::Undo)[src]

Implementations on Foreign Types

impl SnapshotVecDelegate for i32[src]

type Value = i32

type Undo = ()

pub fn reverse(&mut Vec<i32, Global>, ())[src]

Implementors

impl<N> SnapshotVecDelegate for Edge<N>[src]

type Value = Edge<N>

type Undo = ()

fn reverse(_: &mut Vec<Edge<N>>, _: ())[src]

impl<N> SnapshotVecDelegate for Node<N>[src]

type Value = Node<N>

type Undo = ()

fn reverse(_: &mut Vec<Node<N>>, _: ())[src]