pub struct DoSpan {
pub guard: DoGuard,
pub body: Vec<Statement>,
}
Expand description
Components of a DO
statement.
Fields§
§guard: DoGuard
Expression to compute whether to execute the loop’s body or not and where this appears in
the DO
statement.
body: Vec<Statement>
Statements within the loop’s body.
Trait Implementations§
impl StructuralPartialEq for DoSpan
Auto Trait Implementations§
impl Freeze for DoSpan
impl RefUnwindSafe for DoSpan
impl Send for DoSpan
impl Sync for DoSpan
impl Unpin for DoSpan
impl UnwindSafe for DoSpan
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