Struct vkxml::ExtensionEnum
[−]
[src]
pub struct ExtensionEnum { pub name: Identifier, pub notation: Option<Notation>, pub offset: Option<usize>, pub negate: bool, pub extends: Identifier, pub number: Option<i32>, pub hex: Option<String>, pub bitpos: Option<u32>, pub c_expression: Option<CExpression>, }
Declares a new enumerator that is added to an existing enumerator.
Fields
name: Identifier
notation: Option<Notation>
offset: Option<usize>
Compute the enum's value based on an integer offset.
negate: bool
If true, the offset's value should be negated. Primarily for error codes.
extends: Identifier
The name of an enumeration
to be extended.
number: Option<i32>
hex: Option<String>
bitpos: Option<u32>
c_expression: Option<CExpression>