pub struct LocalInit {
pub eq_token: Eq,
pub expr: Box<Expr>,
pub diverge: Option<(Else, Box<Expr>)>,
}
Expand description
The expression assigned in a local let
binding, including optional
diverging else
block.
LocalInit
represents = s.parse()?
in let x: u64 = s.parse()?
and
= r else { return }
in let Ok(x) = r else { return }
.
Fields§
§eq_token: Eq
§expr: Box<Expr>
§diverge: Option<(Else, Box<Expr>)>