Enum syn::StrStyle[][src]

pub enum StrStyle {
    Cooked,
    Raw(usize),
}
Expand description

The style of a string literal, either plain quoted or a raw string like r##"data"##.

Variants

Cooked

An ordinary string like "data".

Raw(usize)

Tuple Fields

0: usize

A raw string like r##"data"##.

The unsigned integer is the number of # symbols used.

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.