pub struct ExceptClause {
pub keyword: _ExceptKeyword,
pub exception: Box<Symbol>,
pub do_keyword: _DoKeyword,
pub value: Box<Expr>,
}Fields§
§keyword: _ExceptKeyword§exception: Box<Symbol>§do_keyword: _DoKeyword§value: Box<Expr>Implementations§
Source§impl ExceptClause
impl ExceptClause
pub fn new( keyword: _ExceptKeyword, exception: Symbol, do_keyword: _DoKeyword, value: Expr, ) -> Self
Trait Implementations§
Source§impl Debug for ExceptClause
impl Debug for ExceptClause
Source§impl From<ExceptClause> for TryFallback
impl From<ExceptClause> for TryFallback
Source§fn from(value: ExceptClause) -> Self
fn from(value: ExceptClause) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for ExceptClause
impl PrettyTree for ExceptClause
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for ExceptClausewhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for ExceptClausewhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for ExceptClause
impl ToTokens for ExceptClause
Auto Trait Implementations§
impl Freeze for ExceptClause
impl RefUnwindSafe for ExceptClause
impl Send for ExceptClause
impl Sync for ExceptClause
impl Unpin for ExceptClause
impl UnsafeUnpin for ExceptClause
impl UnwindSafe for ExceptClause
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