pub trait SnapshotVecDelegate {
    type Value;
    type Undo;

    // Required method
    fn reverse(values: &mut Vec<Self::Value, Global>, action: Self::Undo);
}

Required Associated Types§

Required Methods§

source

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

Implementors§

source§

impl<N> SnapshotVecDelegate for Edge<N>

§

type Value = Edge<N>

§

type Undo = ()

source§

impl<N> SnapshotVecDelegate for Node<N>

§

type Value = Node<N>

§

type Undo = ()