pub struct RepeatNTimes {
pub n: Expression,
pub body: StatementList,
pub span: Span,
}Expand description
Represents a repeat n times statement in the SAP language. For example:
repeat 5 times
display "Hello, world!"
endFields§
§n: Expression§body: StatementList§span: SpanTrait Implementations§
Source§impl Clone for RepeatNTimes
impl Clone for RepeatNTimes
Source§fn clone(&self) -> RepeatNTimes
fn clone(&self) -> RepeatNTimes
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 moreSource§impl Debug for RepeatNTimes
impl Debug for RepeatNTimes
Source§impl PartialEq for RepeatNTimes
impl PartialEq for RepeatNTimes
Source§impl Serialize for RepeatNTimes
impl Serialize for RepeatNTimes
impl StructuralPartialEq for RepeatNTimes
Auto Trait Implementations§
impl Freeze for RepeatNTimes
impl RefUnwindSafe for RepeatNTimes
impl Send for RepeatNTimes
impl Sync for RepeatNTimes
impl Unpin for RepeatNTimes
impl UnwindSafe for RepeatNTimes
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