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