pub struct ScalaCatch {
pub pattern: ScalaPattern,
pub body: ScalaExpr,
}Expand description
A catch clause in a Scala try expression.
Fields§
§pattern: ScalaPattern§body: ScalaExprTrait Implementations§
Source§impl Clone for ScalaCatch
impl Clone for ScalaCatch
Source§fn clone(&self) -> ScalaCatch
fn clone(&self) -> ScalaCatch
Returns a duplicate 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 ScalaCatch
impl Debug for ScalaCatch
Source§impl PartialEq for ScalaCatch
impl PartialEq for ScalaCatch
impl StructuralPartialEq for ScalaCatch
Auto Trait Implementations§
impl Freeze for ScalaCatch
impl RefUnwindSafe for ScalaCatch
impl Send for ScalaCatch
impl Sync for ScalaCatch
impl Unpin for ScalaCatch
impl UnsafeUnpin for ScalaCatch
impl UnwindSafe for ScalaCatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more