Module rustc_middle::ty::layout[−][src]

Structs

LayoutCx

Enums

LayoutError
SavedLocalEligibility

Overlap eligibility and variant assignment for each GeneratorSavedLocal.

SizeSkeleton

Type size “skeleton”, i.e., the only information determining a type’s size. While this is conservative, (aside from constant sizes, only pointers, newtypes thereof and null pointer optimized enums are allowed), it is enough to statically check common use cases of transmute.

StructKind

Constants

FAT_PTR_ADDR

The first half of a fat pointer.

FAT_PTR_EXTRA

The second half of a fat pointer.

MAX_SIMD_LANES

The maximum supported number of lanes in a SIMD vector.

Traits

FnAbiExt
HasParamEnv
HasTyCtxt
IntegerExt
PrimitiveExt

Functions

fn_can_unwind
invert_mapping
layout_raw
make_thin_self_ptr
provide

Type Definitions

TyAndLayout