pub struct CatchParam {
pub modifiers: Vec<Modifier>,
pub ty: CatchType,
pub name: Ident,
}Expand description
The parameter of a catch clause.
Fields§
§modifiers: Vec<Modifier>§ty: CatchType§name: IdentTrait Implementations§
Source§impl Clone for CatchParam
impl Clone for CatchParam
Source§fn clone(&self) -> CatchParam
fn clone(&self) -> CatchParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CatchParam
impl Debug for CatchParam
impl Eq for CatchParam
Source§impl Hash for CatchParam
impl Hash for CatchParam
Source§impl PartialEq for CatchParam
impl PartialEq for CatchParam
Source§fn eq(&self, other: &CatchParam) -> bool
fn eq(&self, other: &CatchParam) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CatchParam
Auto Trait Implementations§
impl Freeze for CatchParam
impl RefUnwindSafe for CatchParam
impl Send for CatchParam
impl Sync for CatchParam
impl Unpin for CatchParam
impl UnsafeUnpin for CatchParam
impl UnwindSafe for CatchParam
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