pub enum ExpressionSwitchStatementChildren<'tree> {
DefaultCase(Box<DefaultCase<'tree>>),
ExpressionCase(Box<ExpressionCase<'tree>>),
}Variants§
DefaultCase(Box<DefaultCase<'tree>>)
ExpressionCase(Box<ExpressionCase<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for ExpressionSwitchStatementChildren<'tree>
impl<'tree> Clone for ExpressionSwitchStatementChildren<'tree>
Source§fn clone(&self) -> ExpressionSwitchStatementChildren<'tree>
fn clone(&self) -> ExpressionSwitchStatementChildren<'tree>
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<'tree> Debug for ExpressionSwitchStatementChildren<'tree>
impl<'tree> Debug for ExpressionSwitchStatementChildren<'tree>
Source§impl<'tree> FromNode<'tree> for ExpressionSwitchStatementChildren<'tree>
impl<'tree> FromNode<'tree> for ExpressionSwitchStatementChildren<'tree>
Source§impl<'tree> PartialEq for ExpressionSwitchStatementChildren<'tree>
impl<'tree> PartialEq for ExpressionSwitchStatementChildren<'tree>
Source§fn eq(&self, other: &ExpressionSwitchStatementChildren<'tree>) -> bool
fn eq(&self, other: &ExpressionSwitchStatementChildren<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for ExpressionSwitchStatementChildren<'_>
impl Spanned for ExpressionSwitchStatementChildren<'_>
impl<'tree> Eq for ExpressionSwitchStatementChildren<'tree>
impl<'tree> StructuralPartialEq for ExpressionSwitchStatementChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ExpressionSwitchStatementChildren<'tree>
impl<'tree> RefUnwindSafe for ExpressionSwitchStatementChildren<'tree>
impl<'tree> Send for ExpressionSwitchStatementChildren<'tree>
impl<'tree> Sync for ExpressionSwitchStatementChildren<'tree>
impl<'tree> Unpin for ExpressionSwitchStatementChildren<'tree>
impl<'tree> UnsafeUnpin for ExpressionSwitchStatementChildren<'tree>
impl<'tree> UnwindSafe for ExpressionSwitchStatementChildren<'tree>
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