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

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

Variants

Methods

impl Lit
[src]

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]

Serialize a value using an Encoder.

impl Decodable for Lit
[src]

Deserialize a value using a Decoder.

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 state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for Lit
[src]

Formats the value using the given formatter.

impl Copy for Lit
[src]