[][src]Enum vk_parse::EnumSpec

pub enum EnumSpec {
    None,
    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>,
    },
}

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

Variants

None
Alias

Fields of Alias

alias: Stringextends: Option<String>
Offset

Fields of Offset

offset: i64extends: Stringextnumber: Option<i64>dir: bool
Bitpos

Indicates an enum which is a bit flag.

Fields of Bitpos

bitpos: i64

The bit to be set.

extends: Option<String>

Which structure this enum extends.

Value

An enum value.

Fields of Value

value: String

Hard coded value for an enum.

extends: Option<String>

Which structure this enum extends.

Trait Implementations

impl Clone for EnumSpec[src]

impl Debug for EnumSpec[src]

impl Default for EnumSpec[src]

impl Eq for EnumSpec[src]

impl PartialEq<EnumSpec> for EnumSpec[src]

impl StructuralEq for EnumSpec[src]

impl StructuralPartialEq for EnumSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.