pub struct CaseCommand {
pub word: Word,
pub cases: Vec<CaseItem>,
pub span: Span,
}Expand description
Case statement.
Fields§
§word: Word§cases: Vec<CaseItem>§span: SpanSource span of this command
Trait Implementations§
Source§impl Clone for CaseCommand
impl Clone for CaseCommand
Source§fn clone(&self) -> CaseCommand
fn clone(&self) -> CaseCommand
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 moreAuto Trait Implementations§
impl Freeze for CaseCommand
impl RefUnwindSafe for CaseCommand
impl Send for CaseCommand
impl Sync for CaseCommand
impl Unpin for CaseCommand
impl UnsafeUnpin for CaseCommand
impl UnwindSafe for CaseCommand
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