[−][src]Function rustc_builtin_macros::deriving::generic::is_type_without_fields

pub fn is_type_without_fields(item: &Annotatable) -> bool

Returns true if the type has no value fields (for an enum, no variant has any fields)