pub struct ForCommand {
pub variable: String,
pub words: Option<Vec<Word>>,
pub body: Vec<Command>,
pub span: Span,
}Expand description
For loop.
Fields§
§variable: String§words: Option<Vec<Word>>§body: Vec<Command>§span: SpanSource span of this command
Trait Implementations§
Source§impl Clone for ForCommand
impl Clone for ForCommand
Source§fn clone(&self) -> ForCommand
fn clone(&self) -> ForCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ForCommand
impl RefUnwindSafe for ForCommand
impl Send for ForCommand
impl Sync for ForCommand
impl Unpin for ForCommand
impl UnsafeUnpin for ForCommand
impl UnwindSafe for ForCommand
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