Enum bindgen::EnumVariation[][src]

pub enum EnumVariation {
    Rust,
    Bitfield,
    Consts,
    ModuleConsts,
}

A helper type that represents different enum variations.

Variants

The code for this enum will use a Rust enum

The code for this enum will use a bitfield

The code for this enum will use consts

The code for this enum will use a module containing consts

Trait Implementations

impl Copy for EnumVariation
[src]

impl Clone for EnumVariation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for EnumVariation
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for EnumVariation
[src]

Formats the value using the given formatter. Read more

impl Default for EnumVariation
[src]

Returns the "default value" for a type. Read more

impl FromStr for EnumVariation
[src]

The associated error which can be returned from parsing.

Create a EnumVariation from a string.

Auto Trait Implementations