pub enum StringLit {
    Single(SingleStringLit),
    Double(DoubleStringLit),
}
Expand description

Any string literal, whether single or double quote delimited

Variants

Single(SingleStringLit)

A single-quoted string literal

Double(DoubleStringLit)

A double-quoted string literal

Implementations

Get the content of this string literal

Trait Implementations

This is supported on crate feature spanned only.

Get the source span of this item

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

The number of items that this chain link consists of.

Append the elements in this link to the chain.

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.