pub enum SwitchExpressionChildren<'tree> {
Expression(Box<Expression<'tree>>),
SwitchExpressionArm(Box<SwitchExpressionArm<'tree>>),
}Variants§
Expression(Box<Expression<'tree>>)
SwitchExpressionArm(Box<SwitchExpressionArm<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for SwitchExpressionChildren<'tree>
impl<'tree> Clone for SwitchExpressionChildren<'tree>
Source§fn clone(&self) -> SwitchExpressionChildren<'tree>
fn clone(&self) -> SwitchExpressionChildren<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SwitchExpressionChildren<'tree>
impl<'tree> Debug for SwitchExpressionChildren<'tree>
impl<'tree> Eq for SwitchExpressionChildren<'tree>
Source§impl<'tree> FromNode<'tree> for SwitchExpressionChildren<'tree>
impl<'tree> FromNode<'tree> for SwitchExpressionChildren<'tree>
Source§impl<'tree> PartialEq for SwitchExpressionChildren<'tree>
impl<'tree> PartialEq for SwitchExpressionChildren<'tree>
Source§impl Spanned for SwitchExpressionChildren<'_>
impl Spanned for SwitchExpressionChildren<'_>
impl<'tree> StructuralPartialEq for SwitchExpressionChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for SwitchExpressionChildren<'tree>
impl<'tree> RefUnwindSafe for SwitchExpressionChildren<'tree>
impl<'tree> Send for SwitchExpressionChildren<'tree>
impl<'tree> Sync for SwitchExpressionChildren<'tree>
impl<'tree> Unpin for SwitchExpressionChildren<'tree>
impl<'tree> UnsafeUnpin for SwitchExpressionChildren<'tree>
impl<'tree> UnwindSafe for SwitchExpressionChildren<'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