Enum rustc_infer::infer::undo_log::UndoLog [−][src]
pub(crate) enum UndoLog<'tcx> {
TypeVariables(UndoLog<'tcx>),
ConstUnificationTable(UndoLog<Delegate<ConstVid<'tcx>>>),
IntUnificationTable(UndoLog<Delegate<IntVid>>),
FloatUnificationTable(UndoLog<Delegate<FloatVid>>),
RegionConstraintCollector(UndoLog<'tcx>),
RegionUnificationTable(UndoLog<Delegate<RegionVidKey<'tcx>>>),
ProjectionCache(UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>),
PushRegionObligation,
}Expand description
Records the “undo” data for a single operation that affects some form of inference variable.
Variants
Tuple Fields of TypeVariables
0: UndoLog<'tcx>Tuple Fields of ConstUnificationTable
0: UndoLog<Delegate<ConstVid<'tcx>>>Tuple Fields of IntUnificationTable
0: UndoLog<Delegate<IntVid>>Tuple Fields of FloatUnificationTable
0: UndoLog<Delegate<FloatVid>>Tuple Fields of RegionConstraintCollector
0: UndoLog<'tcx>Tuple Fields of RegionUnificationTable
0: UndoLog<Delegate<RegionVidKey<'tcx>>>Tuple Fields of ProjectionCache
0: UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>Trait Implementations
Performs the conversion.
impl<'tcx> From<UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>> for UndoLog<'tcx>
impl<'tcx> From<UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>> for UndoLog<'tcx>
Performs the conversion.
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for UndoLog<'tcx>
impl<'tcx> !UnwindSafe for UndoLog<'tcx>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 72 bytes