pub struct ControlledLoop {
pub var: String,
pub start: Expr,
pub to: Option<Expr>,
pub by: Option<Expr>,
pub for: Option<Expr>,
pub while_cond: Option<Expr>,
pub until_cond: Option<Expr>,
}Expand description
Controlled DO loop parameters.
Fields§
§var: String§start: Expr§to: Option<Expr>§by: Option<Expr>§for: Option<Expr>§while_cond: Option<Expr>§until_cond: Option<Expr>Trait Implementations§
Source§impl Clone for ControlledLoop
impl Clone for ControlledLoop
Source§fn clone(&self) -> ControlledLoop
fn clone(&self) -> ControlledLoop
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 ControlledLoop
impl RefUnwindSafe for ControlledLoop
impl Send for ControlledLoop
impl Sync for ControlledLoop
impl Unpin for ControlledLoop
impl UnsafeUnpin for ControlledLoop
impl UnwindSafe for ControlledLoop
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