Struct syn::ExprLit [−][src]
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
impl Clone for ExprLit
[src]
impl Clone for ExprLit
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ToTokens for ExprLit
[src]
impl ToTokens for ExprLit
[src]