Struct macrohelper::bodykind::enumerator::Enumerator [] [src]

pub struct Enumerator(pub Vec<Variant>);

The collect of all types an Enum can be.

Methods

impl Enumerator
[src]

Constructs an enumerator from a Body

Get number of args

Are all fields just flat values

Are all fields zero sized

Trait Implementations

impl Clone for Enumerator
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Enumerator
[src]

Formats the value using the given formatter.

impl Index<usize> for Enumerator
[src]

The returned type after indexing

The method for the indexing (container[index]) operation