Struct rustc_data_structures::unify::Snapshot
source · [−]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>::Snapshot
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
impl<T> Erased for T
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.