pub(crate) enum Walk {
Place(Location, Span),
Items(Rc<Vec<Value>>),
Range {
start: i64,
end: i64,
},
}Expand description
A loop’s iterable, worked out once before the first time round.
Variants§
Place(Location, Span)
The length is read each time round, so a loop body may change the list.
Items(Rc<Vec<Value>>)
Range
Auto Trait Implementations§
impl !Send for Walk
impl !Sync for Walk
impl Freeze for Walk
impl RefUnwindSafe for Walk
impl Unpin for Walk
impl UnsafeUnpin for Walk
impl UnwindSafe for Walk
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