[][src]Trait rustc_ap_rustc_data_structures::unify::UnificationStore

pub trait UnificationStore: UnificationStoreMut {
    type Snapshot;
    fn start_snapshot(&mut self) -> Self::Snapshot;
fn rollback_to(&mut self, snapshot: Self::Snapshot);
fn commit(&mut self, snapshot: Self::Snapshot);
fn values_since_snapshot(&self, snapshot: &Self::Snapshot) -> Range<usize>; }

Associated Types

Loading content...

Required methods

fn start_snapshot(&mut self) -> Self::Snapshot

fn rollback_to(&mut self, snapshot: Self::Snapshot)

fn commit(&mut self, snapshot: Self::Snapshot)

fn values_since_snapshot(&self, snapshot: &Self::Snapshot) -> Range<usize>

Loading content...

Implementors

impl<K, V, L> UnificationStore for InPlace<K, V, L> where
    K: UnifyKey,
    L: Snapshots<UndoLog<Delegate<K>>>,
    V: VecLike<Delegate<K>>, 
[src]

type Snapshot = Snapshot<<L as Snapshots<UndoLog<Delegate<K>>>>::Snapshot>

Loading content...