Struct syntex_syntax::ast::Local
[−]
[src]
pub struct Local { pub pat: P<Pat>, pub ty: Option<P<Ty>>, pub init: Option<P<Expr>>, pub id: NodeId, pub span: Span, pub attrs: ThinAttributes, }
Local represents a let
statement, e.g., let <pat>:<ty> = <expr>;
Fields
pat | |
ty | |
init | Initializer expression to set the value, if any |
id | |
span | |
attrs |