serde_derive::internals::attr

Function is_primitive_type

source
fn is_primitive_type(ty: &Type, primitive: &str) -> bool