Function rustc_ty_utils::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>>