Struct syn::ExprLit [−][src]
Expand description
A literal in place of an expression: 1
, "foo"
.
This type is available only if Syn is built with the "derive"
or
"full"
feature.
Fields
attrs: Vec<Attribute>
lit: Lit
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExprLit
impl UnwindSafe for ExprLit
Blanket Implementations
Mutably borrows from an owned value. Read more