Skip to main content

size_of_generic_param

Function size_of_generic_param 

Source
pub fn size_of_generic_param<'tcx>(
    tcx: TyCtxt<'tcx>,
    caller: DefId,
    ty: Ty<'tcx>,
) -> u64
Expand description

Max size_of over all implementors of a generic type parameter’s trait bounds (0 for non-param types).