Struct syn::ExprTryBlock
source · Expand description
A try block: try { ... }
.
This type is available if Syn is built with the "full"
feature.
Fields§
§attrs: Vec<Attribute>
§try_token: Try
§block: Block
Trait Implementations§
source§impl Clone for ExprTryBlock
impl Clone for ExprTryBlock
source§fn clone(&self) -> ExprTryBlock
fn clone(&self) -> ExprTryBlock
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExprTryBlock
impl Debug for ExprTryBlock
source§impl From<ExprTryBlock> for Expr
impl From<ExprTryBlock> for Expr
source§fn from(e: ExprTryBlock) -> Expr
fn from(e: ExprTryBlock) -> Expr
Converts to this type from the input type.