pub enum TryFallback {
ExceptClause(ExceptClause),
ElseClause(ElseClause),
}Variants§
ExceptClause(ExceptClause)
ElseClause(ElseClause)
Trait Implementations§
Source§impl Debug for TryFallback
impl Debug for TryFallback
Source§impl From<ElseClause> for TryFallback
impl From<ElseClause> for TryFallback
Source§fn from(value: ElseClause) -> Self
fn from(value: ElseClause) -> Self
Converts to this type from the input type.
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 TryFallback
impl PrettyTree for TryFallback
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 TryFallbackwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for TryFallbackwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for TryFallback
impl ToTokens for TryFallback
Auto Trait Implementations§
impl Freeze for TryFallback
impl RefUnwindSafe for TryFallback
impl Send for TryFallback
impl Sync for TryFallback
impl Unpin for TryFallback
impl UnsafeUnpin for TryFallback
impl UnwindSafe for TryFallback
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