Function miri::helpers::path_ty_layout
source ยท pub fn path_ty_layout<'tcx>(
cx: &impl LayoutOf<'tcx>,
path: &[&str],
) -> TyAndLayout<'tcx>
Expand description
Gets the layout of a type at a path.
pub fn path_ty_layout<'tcx>(
cx: &impl LayoutOf<'tcx>,
path: &[&str],
) -> TyAndLayout<'tcx>
Gets the layout of a type at a path.