Enum moore_svlog_syntax::token::Lit [] [src]

pub enum Lit {
    Str(Name),
    Decimal(Name),
    UnsignedInteger(Name),
    BasedInteger(Option<Name>, boolcharName),
    UnbasedUnsized(char),
    Real(Name),
    Time(Name),
}

Abstract literals such as strings.

Variants

An unsigned number.

Trait Implementations

impl Clone for Lit
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Lit
[src]

impl PartialEq for Lit
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Lit
[src]

impl Hash for Lit
[src]

[src]

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

1.3.0
[src]

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

impl Debug for Lit
[src]

[src]

Formats the value using the given formatter.

impl Encodable for Lit
[src]

[src]

Serialize a value using an Encoder.

impl Decodable for Lit
[src]

[src]

Deserialize a value using a Decoder.