Skip to main content

TyAndLayout

Type Alias TyAndLayout 

Source
pub type TyAndLayout<'tcx> = TyAndLayout<'tcx, Ty<'tcx>>;

Aliased Type§

pub struct TyAndLayout<'tcx> {
    pub ty: Ty<'tcx>,
    pub layout: Layout<'tcx>,
}

Fields§

§ty: Ty<'tcx>§layout: Layout<'tcx>

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