pub struct ForLoop {
pub variable: String,
pub words: Vec<Word>,
pub body: Program,
}Expand description
for NAME in WORDS...; do ...; done.
Fields§
§variable: StringLoop variable.
words: Vec<Word>Words expanded once before the loop begins.
body: ProgramLoop body.
Trait Implementations§
impl Eq for ForLoop
impl StructuralPartialEq for ForLoop
Auto Trait Implementations§
impl Freeze for ForLoop
impl RefUnwindSafe for ForLoop
impl Send for ForLoop
impl Sync for ForLoop
impl Unpin for ForLoop
impl UnsafeUnpin for ForLoop
impl UnwindSafe for ForLoop
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.