Function is_primitive_type

Source
fn is_primitive_type<T>(s: &T) -> bool
where T: PartialEq<str>,