pub enum ForIter {
Collection {
mode: Mode,
expr: Expr,
},
Range {
start: Expr,
end: Expr,
inclusive: bool,
},
}Expand description
What a for loop walks over.
Variants§
Trait Implementations§
impl StructuralPartialEq for ForIter
Auto Trait Implementations§
impl Freeze for ForIter
impl RefUnwindSafe for ForIter
impl Send for ForIter
impl Sync for ForIter
impl Unpin for ForIter
impl UnsafeUnpin for ForIter
impl UnwindSafe for ForIter
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