pub struct SwitchClause {
pub label: SwitchLabel,
pub statements: Vec<Stmt>,
pub range: TextRange,
}Fields§
§label: SwitchLabel§statements: Vec<Stmt>§range: TextRangeTrait Implementations§
Source§impl Clone for SwitchClause
impl Clone for SwitchClause
Source§fn clone(&self) -> SwitchClause
fn clone(&self) -> SwitchClause
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 SwitchClause
impl Debug for SwitchClause
Source§impl PartialEq for SwitchClause
impl PartialEq for SwitchClause
impl Eq for SwitchClause
impl StructuralPartialEq for SwitchClause
Auto Trait Implementations§
impl Freeze for SwitchClause
impl RefUnwindSafe for SwitchClause
impl Send for SwitchClause
impl Sync for SwitchClause
impl Unpin for SwitchClause
impl UnsafeUnpin for SwitchClause
impl UnwindSafe for SwitchClause
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