Struct vkxml::Constant [] [src]

pub struct Constant {
    pub name: String,
    pub notation: Option<Notation>,
    pub number: Option<i32>,
    pub hex: Option<String>,
    pub bitpos: Option<u32>,
    pub c_expression: Option<CExpression>,
}

C constant

A Constant will have only have one of the following values:

  • number
  • hex
  • bitpos
  • c_expression

Fields

Trait Implementations

impl Debug for Constant
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Constant

impl Sync for Constant