Enum pr47::syntax::attr::AttrValueInner[][src]

pub enum AttrValueInner<'a> {
    Identifier(Identifier<'a>),
    IntLiteral(i64),
    FloatLiteral(f64),
    CharLiteral(char),
    StringLiteral(&'a str),
    BoolLiteral(bool),
}

Variants

Identifier(Identifier<'a>)

Tuple Fields of Identifier

0: Identifier<'a>
IntLiteral(i64)

Tuple Fields of IntLiteral

0: i64
FloatLiteral(f64)

Tuple Fields of FloatLiteral

0: f64
CharLiteral(char)

Tuple Fields of CharLiteral

0: char
StringLiteral(&'a str)

Tuple Fields of StringLiteral

0: &'a str
BoolLiteral(bool)

Tuple Fields of BoolLiteral

0: bool

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.