Enum macrohelper::bodykind::BodyKind [] [src]

pub enum BodyKind {
    Enum(Enumerator),
    Struct(Structure),
}

Variants

Methods

impl BodyKind
[src]

Build from syn's Body representation

Returns a structure if that is possible

Returns a Enum if that is possible

Trait Implementations

impl Clone for BodyKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BodyKind
[src]

Formats the value using the given formatter.