Function rustc_middle::ty::layout::layout_of
source · fn layout_of<'tcx>(
tcx: TyCtxt<'tcx>,
query: ParamEnvAnd<'tcx, Ty<'tcx>>
) -> Result<TyAndLayout<'tcx>, LayoutError<'tcx>>
fn layout_of<'tcx>(
tcx: TyCtxt<'tcx>,
query: ParamEnvAnd<'tcx, Ty<'tcx>>
) -> Result<TyAndLayout<'tcx>, LayoutError<'tcx>>