[][src]Struct rustc_ap_rustc_data_structures::unify::Snapshot

pub struct Snapshot<S> where
    S: UnificationStore
{ /* fields omitted */ }

At any time, users may snapshot a unification table. The changes made during the snapshot may either be committed or rolled back.

Auto Trait Implementations

impl<S> RefUnwindSafe for Snapshot<S> where
    S: RefUnwindSafe,
    <S as UnificationStore>::Snapshot: RefUnwindSafe

impl<S> Send for Snapshot<S> where
    S: Send,
    <S as UnificationStore>::Snapshot: Send

impl<S> Sync for Snapshot<S> where
    S: Sync,
    <S as UnificationStore>::Snapshot: Sync

impl<S> Unpin for Snapshot<S> where
    S: Unpin,
    <S as UnificationStore>::Snapshot: Unpin

impl<S> UnwindSafe for Snapshot<S> where
    S: UnwindSafe,
    <S as UnificationStore>::Snapshot: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<E> SpecializationError for E[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.