pub struct ForIn {
pub name: Arc<String>,
pub iter: Expression,
pub block: Block,
pub label: Option<Arc<String>>,
pub source_range: Range,
}
Expand description
For-In expression.
Fields§
§name: Arc<String>
Name of the loop variable.
iter: Expression
The in-type expression to read from.
block: Block
Block expression.
label: Option<Arc<String>>
Loop label.
source_range: Range
The range in source.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ForIn
impl Send for ForIn
impl Sync for ForIn
impl Unpin for ForIn
impl !UnwindSafe for ForIn
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