Trait rustc_data_structures::snapshot_vec::SnapshotVecDelegate[−]

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

Associated Types

type Value

type Undo

Loading content...

Required methods

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

Loading content...

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]

Loading content...