litrs

Type Alias SharedLiteral

Source
pub type SharedLiteral<'a> = Literal<&'a str>;
Expand description

A literal whose underlying buffer is borrowed.

Aliased Type§

enum SharedLiteral<'a> {
    Bool(BoolLit),
    Integer(IntegerLit<&'a str>),
    Float(FloatLit<&'a str>),
    Char(CharLit<&'a str>),
    String(StringLit<&'a str>),
    Byte(ByteLit<&'a str>),
    ByteString(ByteStringLit<&'a str>),
}

Variants§

§

Bool(BoolLit)

§

Integer(IntegerLit<&'a str>)

§

Float(FloatLit<&'a str>)

§

Char(CharLit<&'a str>)

§

String(StringLit<&'a str>)

§

Byte(ByteLit<&'a str>)

§

ByteString(ByteStringLit<&'a str>)