pub enum CaseItemPostAction {
ExitCase,
UnconditionallyExecuteNextCaseItem,
ContinueEvaluatingCases,
}Expand description
Describes the action to take after executing the body command of a case clause.
Variants§
ExitCase
The containing case should be exited.
UnconditionallyExecuteNextCaseItem
If one is present, the command body of the succeeding case item should be executed (without evaluating its pattern).
ContinueEvaluatingCases
The case should continue evaluating the remaining case items, as if this item had not been executed.
Trait Implementations§
Source§impl Clone for CaseItemPostAction
impl Clone for CaseItemPostAction
Source§fn clone(&self) -> CaseItemPostAction
fn clone(&self) -> CaseItemPostAction
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 CaseItemPostAction
impl Debug for CaseItemPostAction
Auto Trait Implementations§
impl Freeze for CaseItemPostAction
impl RefUnwindSafe for CaseItemPostAction
impl Send for CaseItemPostAction
impl Sync for CaseItemPostAction
impl Unpin for CaseItemPostAction
impl UnwindSafe for CaseItemPostAction
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