rustc_transmute::layout::rustc

Function layout_of

source
pub(crate) fn layout_of<'tcx>(
    cx: LayoutCx<'tcx>,
    ty: Ty<'tcx>,
) -> Result<Layout<'tcx>, &'tcx LayoutError<'tcx>>