Struct vkxml::ExtensionConstant
[−]
[src]
pub struct ExtensionConstant {
pub name: Identifier,
pub notation: Option<Notation>,
pub text: Option<String>,
pub enumref: Option<Identifier>,
pub number: Option<i32>,
pub hex: Option<String>,
pub bitpos: Option<u32>,
pub c_expression: Option<CExpression>,
}Defines a constant exported by an extension. These are not enumerators.
Fields
name: Identifier
notation: Option<Notation>
text: Option<String>
An arbitrary string constant. The string here is not contained in quotes. So you should add your own.
enumref: Option<Identifier>
Specifies a constant who's value comes from an enum or another existing constant.
number: Option<i32>
hex: Option<String>
bitpos: Option<u32>
c_expression: Option<CExpression>