pub fn is_slice_of_primitives(
    cx: &LateContext<'_>,
    expr: &Expr<'_>
) -> Option<String>
Expand description

Returns Option<String> where String is a textual representation of the type encapsulated in the slice iff the given expression is a slice of primitives (as defined in the is_recursively_primitive_type function) and None otherwise.