Function syntax_ext::deriving::generic::is_type_without_fields[][src]

pub fn is_type_without_fields(item: &Annotatable) -> bool
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

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