pub enum LoopKind {
While,
Until,
}
Expand description
An indicator to the builder whether a while
or until
command was parsed.
Variants§
While
A while
command was parsed, normally indicating the loop’s body should be run
while the guard’s exit status is successful.
Until
An until
command was parsed, normally indicating the loop’s body should be run
until the guard’s exit status becomes successful.
Trait Implementations§
impl Copy for LoopKind
impl Eq for LoopKind
impl StructuralPartialEq for LoopKind
Auto Trait Implementations§
impl Freeze for LoopKind
impl RefUnwindSafe for LoopKind
impl Send for LoopKind
impl Sync for LoopKind
impl Unpin for LoopKind
impl UnwindSafe for LoopKind
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