Struct rustc_data_structures::unify::Snapshot [−]
pub struct Snapshot<S> where
S: UnificationStore, { marker: PhantomData<S>, snapshot: <S as UnificationStore>::Snapshot, }
Expand description
At any time, users may snapshot a unification table. The changes made during the snapshot may either be committed or rolled back.
Fields
marker: PhantomData<S>snapshot: <S as UnificationStore>::SnapshotAuto Trait Implementations
impl<S> RefUnwindSafe for Snapshot<S> where
S: RefUnwindSafe,
<S as UnificationStore>::Snapshot: RefUnwindSafe,
S: RefUnwindSafe,
<S as UnificationStore>::Snapshot: RefUnwindSafe,
impl<S> Send for Snapshot<S> where
S: Send,
<S as UnificationStore>::Snapshot: Send,
S: Send,
<S as UnificationStore>::Snapshot: Send,
impl<S> Sync for Snapshot<S> where
S: Sync,
<S as UnificationStore>::Snapshot: Sync,
S: Sync,
<S as UnificationStore>::Snapshot: Sync,
impl<S> Unpin for Snapshot<S> where
S: Unpin,
<S as UnificationStore>::Snapshot: Unpin,
S: Unpin,
<S as UnificationStore>::Snapshot: Unpin,
impl<S> UnwindSafe for Snapshot<S> where
S: UnwindSafe,
<S as UnificationStore>::Snapshot: UnwindSafe,
S: UnwindSafe,
<S as UnificationStore>::Snapshot: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,