Struct devise::syn::ExprLet [−][src]
pub struct ExprLet {
pub attrs: Vec<Attribute, Global>,
pub let_token: Let,
pub pats: Punctuated<Pat, Or>,
pub eq_token: Eq,
pub expr: Box<Expr, Global>,
}Expand description
A let guard: let Some(x) = opt.
This type is available if Syn is built with the "full" feature.
Fields
attrs: Vec<Attribute, Global>let_token: Letpats: Punctuated<Pat, Or>eq_token: Eqexpr: Box<Expr, Global>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ExprLet
impl UnwindSafe for ExprLet
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