pub struct WhileCommand {
pub condition: Vec<Command>,
pub body: Vec<Command>,
pub span: Span,
}Expand description
While loop.
Fields§
§condition: Vec<Command>§body: Vec<Command>§span: SpanSource span of this command
Trait Implementations§
Source§impl Clone for WhileCommand
impl Clone for WhileCommand
Source§fn clone(&self) -> WhileCommand
fn clone(&self) -> WhileCommand
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 WhileCommand
impl RefUnwindSafe for WhileCommand
impl Send for WhileCommand
impl Sync for WhileCommand
impl Unpin for WhileCommand
impl UnsafeUnpin for WhileCommand
impl UnwindSafe for WhileCommand
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