Struct rune::ast::ExprTry [−][src]
pub struct ExprTry { pub attributes: Vec<Attribute>, pub expr: Expr, pub try_token: QuestionMark, }
Expand description
A try expression <expr>?
.
Fields
attributes: Vec<Attribute>
Attributes associated with expression.
expr: Expr
The expression being awaited.
try_token: QuestionMark
The try operator ?
.
Trait Implementations
Parse the current item from the parser.
Turn the current item into tokens.
Auto Trait Implementations
impl RefUnwindSafe for ExprTry
impl UnwindSafe for ExprTry
Blanket Implementations
Mutably borrows from an owned value. Read more