Enum devise::syn::Stmt [−][src]
Expand description
A statement, usually ending in a semicolon.
This type is available if Syn is built with the "full" feature.
Variants
Local(Local)A local (let) binding.
Tuple Fields of Local
0: LocalItem(Item)An item definition.
Tuple Fields of Item
0: ItemExpr(Expr)Expr without trailing semicolon.
Tuple Fields of Expr
0: ExprExpression with trailing semicolon.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Stmt
impl UnwindSafe for Stmt
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more