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

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

Associated Types

type Value

type Undo

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

impl SnapshotVecDelegate for i32[src]

type Value = i32

type Undo = ()

Loading content...

Implementors

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

type Value = Edge<N>

type Undo = ()

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

type Value = Node<N>

type Undo = ()

Loading content...