Function clippy_utils::ty::is_non_aggregate_primitive_type
source · [−]Expand description
Returns true if the given type is a non aggregate primitive (a bool or char, any
integer or floating-point number type). For checking aggregation of primitive types (e.g.
tuples and slices of primitive type) see is_recursively_primitive_type