pub enum Iterable {
Place(Place),
Value(Expr),
Range {
start: Expr,
end: Expr,
},
}Expand description
What a for loops over. Looping over a place makes the loop variable an alias of each
element, so assigning through it changes the original list.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !Send for Iterable
impl !Sync for Iterable
impl Freeze for Iterable
impl RefUnwindSafe for Iterable
impl Unpin for Iterable
impl UnsafeUnpin for Iterable
impl UnwindSafe for Iterable
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