pub enum SwitchLabel {
Case(Expr),
Default {
range: TextRange,
},
}Variants§
Trait Implementations§
Source§impl Clone for SwitchLabel
impl Clone for SwitchLabel
Source§fn clone(&self) -> SwitchLabel
fn clone(&self) -> SwitchLabel
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 Debug for SwitchLabel
impl Debug for SwitchLabel
Source§impl PartialEq for SwitchLabel
impl PartialEq for SwitchLabel
impl Eq for SwitchLabel
impl StructuralPartialEq for SwitchLabel
Auto Trait Implementations§
impl Freeze for SwitchLabel
impl RefUnwindSafe for SwitchLabel
impl Send for SwitchLabel
impl Sync for SwitchLabel
impl Unpin for SwitchLabel
impl UnsafeUnpin for SwitchLabel
impl UnwindSafe for SwitchLabel
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