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

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

Associated Types

Loading content...

Required methods

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

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...