pub struct ExprForLoop { /* private fields */ }Expand description
A for loop, with an optional label.
E.g., 'label: for pat in expr { block }
This is desugared to a combination of loop and match expressions.
Trait Implementations§
Source§impl Clone for ExprForLoop
impl Clone for ExprForLoop
Source§fn clone(&self) -> ExprForLoop
fn clone(&self) -> ExprForLoop
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 From<ExprForLoop> for ExprKind
impl From<ExprForLoop> for ExprKind
Source§fn from(e: ExprForLoop) -> ExprKind
fn from(e: ExprForLoop) -> ExprKind
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExprForLoop
impl RefUnwindSafe for ExprForLoop
impl Send for ExprForLoop
impl Sync for ExprForLoop
impl Unpin for ExprForLoop
impl UnwindSafe for ExprForLoop
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