Struct ast::statement::RepeatUntil
source · pub struct RepeatUntil {
pub condition: Expression,
pub body: StatementList,
pub span: Span,
}Expand description
Represents a repeat until statement in the SAP language. For example:
repeat until x > 5
set x = x + 1
end
Fields§
§condition: Expression§body: StatementList§span: SpanTrait Implementations§
source§impl Clone for RepeatUntil
impl Clone for RepeatUntil
source§fn clone(&self) -> RepeatUntil
fn clone(&self) -> RepeatUntil
Returns a copy 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 RepeatUntil
impl Debug for RepeatUntil
source§impl PartialEq for RepeatUntil
impl PartialEq for RepeatUntil
source§fn eq(&self, other: &RepeatUntil) -> bool
fn eq(&self, other: &RepeatUntil) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RepeatUntil
impl Serialize for RepeatUntil
impl StructuralPartialEq for RepeatUntil
Auto Trait Implementations§
impl RefUnwindSafe for RepeatUntil
impl Send for RepeatUntil
impl Sync for RepeatUntil
impl Unpin for RepeatUntil
impl UnwindSafe for RepeatUntil
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