pub enum ListOperator {
And,
Or,
Semicolon,
Background,
}Expand description
Operators for command lists.
Variants§
And
&& - execute next if previous succeeded
Or
|| - execute next if previous failed
Semicolon
; - execute next unconditionally
Background
& - execute in background
Trait Implementations§
Source§impl Clone for ListOperator
impl Clone for ListOperator
Source§fn clone(&self) -> ListOperator
fn clone(&self) -> ListOperator
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 ListOperator
impl Debug for ListOperator
Source§impl PartialEq for ListOperator
impl PartialEq for ListOperator
impl Copy for ListOperator
impl StructuralPartialEq for ListOperator
Auto Trait Implementations§
impl Freeze for ListOperator
impl RefUnwindSafe for ListOperator
impl Send for ListOperator
impl Sync for ListOperator
impl Unpin for ListOperator
impl UnwindSafe for ListOperator
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