rustc_infer::traits::project

Type Alias UndoLog

Source
pub(crate) type UndoLog<'tcx> = UndoLog<ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>>;

Aliased Type§

enum UndoLog<'tcx> {
    Inserted(ProjectionCacheKey<'tcx>),
    Overwrite(ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>),
    Purged,
}

Variants§

§

Inserted(ProjectionCacheKey<'tcx>)

§

Overwrite(ProjectionCacheKey<'tcx>, ProjectionCacheEntry<'tcx>)

§

Purged

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: 48 bytes

Size for each variant:

  • Inserted: 32 bytes
  • Overwrite: 48 bytes
  • Purged: 0 bytes