pub enum DoKind {
Simple,
Forever,
Count(Expr),
While(Expr),
Until(Expr),
Controlled(Box<ControlledLoop>),
}Variants§
Simple
DO; … END (simple grouping)
Forever
DO FOREVER; … END
Count(Expr)
DO expr; … END (counted loop)
While(Expr)
DO WHILE expr; … END
Until(Expr)
DO UNTIL expr; … END
Controlled(Box<ControlledLoop>)
DO var = start TO end [BY step] [FOR count]; … END
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DoKind
impl RefUnwindSafe for DoKind
impl Send for DoKind
impl Sync for DoKind
impl Unpin for DoKind
impl UnsafeUnpin for DoKind
impl UnwindSafe for DoKind
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