pub enum ForStat<'a> {
Generic(GenericFor<'a>),
Numerical(NumericalFor<'a>),
}Expand description
A for statement.
Variants§
Generic(GenericFor<'a>)
Numerical(NumericalFor<'a>)
Trait Implementations§
Source§impl<'a> AstDescend<'a> for ForStat<'a>
impl<'a> AstDescend<'a> for ForStat<'a>
fn descend_mut<T: VisitorMut<'a>>(&mut self, visitor: &mut T)
Auto Trait Implementations§
impl<'a> Freeze for ForStat<'a>
impl<'a> RefUnwindSafe for ForStat<'a>
impl<'a> Send for ForStat<'a>
impl<'a> Sync for ForStat<'a>
impl<'a> Unpin for ForStat<'a>
impl<'a> UnwindSafe for ForStat<'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