pub struct RepeatStat<'a> {
pub repeat: TokenReference<'a>,
pub block: Box<Block<'a>>,
pub until: TokenReference<'a>,
pub condition: Expr<'a>,
}Expand description
A repeat-until loop statement.
Fields§
§repeat: TokenReference<'a>A reference to the Symbol::Repeat token.
block: Box<Block<'a>>The loop body.
until: TokenReference<'a>A reference to the Symbol::Until token.
condition: Expr<'a>The loop termination condition.
Trait Implementations§
Source§impl<'a> AstDescend<'a> for RepeatStat<'a>
impl<'a> AstDescend<'a> for RepeatStat<'a>
fn descend_mut<T: VisitorMut<'a>>(&mut self, visitor: &mut T)
Source§impl<'a> Clone for RepeatStat<'a>
impl<'a> Clone for RepeatStat<'a>
Source§fn clone(&self) -> RepeatStat<'a>
fn clone(&self) -> RepeatStat<'a>
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<'a> Debug for RepeatStat<'a>
impl<'a> Debug for RepeatStat<'a>
Source§impl Display for RepeatStat<'_>
impl Display for RepeatStat<'_>
Auto Trait Implementations§
impl<'a> Freeze for RepeatStat<'a>
impl<'a> RefUnwindSafe for RepeatStat<'a>
impl<'a> Send for RepeatStat<'a>
impl<'a> Sync for RepeatStat<'a>
impl<'a> Unpin for RepeatStat<'a>
impl<'a> UnwindSafe for RepeatStat<'a>
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