Struct rustc_ap_rustc_ast::ast::StrLit [−][src]
pub struct StrLit {
pub style: StrStyle,
pub symbol: Symbol,
pub suffix: Option<Symbol>,
pub span: Span,
pub symbol_unescaped: Symbol,
}Expand description
Same as Lit, but restricted to string literals.
Fields
style: StrStyleThe original literal token as written in source code.
symbol: Symbolsuffix: Option<Symbol>span: Spansymbol_unescaped: SymbolThe unescaped “semantic” representation of the literal lowered from the original token. FIXME: Remove this and only create the semantic representation during lowering to HIR.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StrLitimpl UnwindSafe for StrLitBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V