Struct genco::csharp::Enum[][src]

pub struct Enum<'el> {
    pub variants: Tokens<'el, Csharp<'el>>,
    pub modifiers: Vec<Modifier>,
    pub implements: Vec<Csharp<'el>>,
    // some fields omitted
}

Model for Csharp Enums.

Fields

Variants of the enum.

Enum modifiers.

What this enum implements.

Methods

impl<'el> Enum<'el>
[src]

Build a new empty interface.

Push an attribute.

Name of enum.

Trait Implementations

impl<'el> Debug for Enum<'el>
[src]

Formats the value using the given formatter. Read more

impl<'el> Clone for Enum<'el>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'el> From<Enum<'el>> for Tokens<'el, Csharp<'el>>
[src]

Performs the conversion.

impl<'el> IntoTokens<'el, Csharp<'el>> for Enum<'el>
[src]

Convert the type into tokens.

Auto Trait Implementations

impl<'el> !Send for Enum<'el>

impl<'el> !Sync for Enum<'el>