pub enum ExcepthandlerKind<U = ()> {
ExceptHandler {
type_: Option<Box<Expr<U>>>,
name: Option<String>,
body: Vec<Stmt<U>>,
},
}
Variants§
Trait Implementations§
source§impl<U: Clone> Clone for ExcepthandlerKind<U>
impl<U: Clone> Clone for ExcepthandlerKind<U>
source§fn clone(&self) -> ExcepthandlerKind<U>
fn clone(&self) -> ExcepthandlerKind<U>
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<U: Debug> Debug for ExcepthandlerKind<U>
impl<U: Debug> Debug for ExcepthandlerKind<U>
source§impl<U: PartialEq> PartialEq<ExcepthandlerKind<U>> for ExcepthandlerKind<U>
impl<U: PartialEq> PartialEq<ExcepthandlerKind<U>> for ExcepthandlerKind<U>
source§fn eq(&self, other: &ExcepthandlerKind<U>) -> bool
fn eq(&self, other: &ExcepthandlerKind<U>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.