pub struct SwitchExpression<'tree> {
pub span: Span,
pub body: SwitchBlock<'tree>,
pub condition: ParenthesizedExpression<'tree>,
}Fields§
§span: Span§body: SwitchBlock<'tree>§condition: ParenthesizedExpression<'tree>Trait Implementations§
Source§impl<'tree> Clone for SwitchExpression<'tree>
impl<'tree> Clone for SwitchExpression<'tree>
Source§fn clone(&self) -> SwitchExpression<'tree>
fn clone(&self) -> SwitchExpression<'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 SwitchExpression<'tree>
impl<'tree> Debug for SwitchExpression<'tree>
Source§impl<'tree> FromNode<'tree> for SwitchExpression<'tree>
impl<'tree> FromNode<'tree> for SwitchExpression<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for SwitchExpression<'tree>
impl<'tree> RefUnwindSafe for SwitchExpression<'tree>
impl<'tree> Send for SwitchExpression<'tree>
impl<'tree> Sync for SwitchExpression<'tree>
impl<'tree> Unpin for SwitchExpression<'tree>
impl<'tree> UnsafeUnpin for SwitchExpression<'tree>
impl<'tree> UnwindSafe for SwitchExpression<'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