Enum syntax::parse::token::Lit[][src]

pub enum Lit {
    Byte(Name),
    Char(Name),
    Integer(Name),
    Float(Name),
    Str_(Name),
    StrRaw(Nameu16),
    ByteStr(Name),
    ByteStrRaw(Nameu16),
}

Variants

Trait Implementations

impl Clone for Lit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for Lit
[src]

impl Decodable for Lit
[src]

impl PartialEq for Lit
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Lit
[src]

impl Hash for Lit
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Lit
[src]

Formats the value using the given formatter. Read more

impl Copy for Lit
[src]

Auto Trait Implementations

impl !Send for Lit

impl !Sync for Lit