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
TypeVariables(UndoLog<'tcx>)
Tuple Fields
0: UndoLog<'tcx>ConstUnificationTable(UndoLog<Delegate<ConstVid<'tcx>>>)
IntUnificationTable(UndoLog<Delegate<IntVid>>)
FloatUnificationTable(UndoLog<Delegate<FloatVid>>)
RegionConstraintCollector(UndoLog<'tcx>)
Tuple Fields
0: UndoLog<'tcx>RegionUnificationTable(UndoLog<Delegate<RegionVidKey<'tcx>>>)
Tuple Fields
0: UndoLog<Delegate<RegionVidKey<'tcx>>>ProjectionCache(UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>)
Tuple Fields
0: UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>PushRegionObligation
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for UndoLog
impl<'tcx> !UnwindSafe for UndoLog
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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
Size for each variant:
TypeVariables: 48 bytesConstUnificationTable: 64 bytesIntUnificationTable: 24 bytesFloatUnificationTable: 24 bytesRegionConstraintCollector: 32 bytesRegionUnificationTable: 32 bytesProjectionCache: 64 bytesPushRegionObligation: 0 bytes
