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>>