Struct syn::ExprTryBlock
source · [−]Expand description
A try block: try { ... }
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
try_token: Try
block: Block
Trait Implementations
sourceimpl From<ExprTryBlock> for Expr
impl From<ExprTryBlock> for Expr
sourcefn from(e: ExprTryBlock) -> Expr
fn from(e: ExprTryBlock) -> Expr
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ExprTryBlock
impl !Send for ExprTryBlock
impl !Sync for ExprTryBlock
impl Unpin for ExprTryBlock
impl UnwindSafe for ExprTryBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more