Enum vk_parse::EnumSpec[][src]

pub enum EnumSpec {
    Alias {
        alias: String,
        extends: Option<String>,
    },
    Offset {
        offset: i64,
        extends: String,
        extnumber: Option<i64>,
        dir: bool,
    },
    Bitpos {
        bitpos: i64,
        extends: Option<String>,
    },
    Value {
        value: String,
        extends: Option<String>,
    },
    None,
}

An enum specifier, which assigns a value to the enum.

Variants

Fields of Alias

Fields of Offset

Indicates an enum which is a bit flag.

Fields of Bitpos

The bit to be set.

Which structure this enum extends.

An enum value.

Fields of Value

Hard coded value for an enum.

Which structure this enum extends.

Trait Implementations

impl Debug for EnumSpec
[src]

Formats the value using the given formatter. Read more

impl Clone for EnumSpec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for EnumSpec

impl Sync for EnumSpec