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, impl<S> UnwindSafe for Snapshot<S> where
S: UnwindSafe,
<S as UnificationStore>::Snapshot: UnwindSafe, Blanket Implementations
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.