Type Definition rustc_middle::ty::query::query_stored::layout_of
source · [−]pub type layout_of<'tcx> = Result<TyAndLayout<'tcx, Ty<'tcx>>, LayoutError<'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: 80 bytes
Size for each variant:
Ok
: 16 bytesErr
: 72 bytes