pub fn is_basic_type(ty: Ty<'_>) -> bool
Expand description

Returns whether the type is a primitive type or an array or slice containing basic ty elements e.g. u8, u8, ()