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 of TypeVariables

0: UndoLog<'tcx>
ConstUnificationTable(UndoLog<Delegate<ConstVid<'tcx>>>)

Tuple Fields of ConstUnificationTable

0: UndoLog<Delegate<ConstVid<'tcx>>>
IntUnificationTable(UndoLog<Delegate<IntVid>>)

Tuple Fields of IntUnificationTable

0: UndoLog<Delegate<IntVid>>
FloatUnificationTable(UndoLog<Delegate<FloatVid>>)

Tuple Fields of FloatUnificationTable

0: UndoLog<Delegate<FloatVid>>
RegionConstraintCollector(UndoLog<'tcx>)

Tuple Fields of RegionConstraintCollector

0: UndoLog<'tcx>
RegionUnificationTable(UndoLog<Delegate<RegionVidKey<'tcx>>>)

Tuple Fields of RegionUnificationTable

0: UndoLog<Delegate<RegionVidKey<'tcx>>>
ProjectionCache(UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>)

Tuple Fields of ProjectionCache

0: UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>
PushRegionObligation

Trait Implementations

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

The Rollback trait defines how to rollback a particular action.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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: