Struct syn::ExprForLoop [−][src]
pub struct ExprForLoop { pub attrs: Vec<Attribute>, pub label: Option<Label>, pub for_token: For, pub pat: Pat, pub in_token: In, pub expr: Box<Expr>, pub body: Block, }
A for loop: for pat in expr { ... }
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
label: Option<Label>
for_token: For
pat: Pat
in_token: In
expr: Box<Expr>
body: Block
Trait Implementations
impl Clone for ExprForLoop
[src]
impl Clone for ExprForLoop
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ExprForLoop> for Expr
[src]
impl From<ExprForLoop> for Expr
[src]fn from(e: ExprForLoop) -> Expr
[src]
impl Hash for ExprForLoop
[src]
impl Hash for ExprForLoop
[src]impl Parse for ExprForLoop
[src]
impl Parse for ExprForLoop
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ExprForLoop> for ExprForLoop
[src]
impl PartialEq<ExprForLoop> for ExprForLoop
[src]impl ToTokens for ExprForLoop
[src]
impl ToTokens for ExprForLoop
[src]