pub struct UntilCommand {
pub condition: Vec<CompleteCommand>,
pub body: Vec<CompleteCommand>,
pub span: Span,
}Expand description
An until condition; do body; done command.
Fields§
§condition: Vec<CompleteCommand>The loop condition (runs until this is true).
body: Vec<CompleteCommand>The loop body.
span: SpanSource span.
Trait Implementations§
Source§impl Clone for UntilCommand
impl Clone for UntilCommand
Source§fn clone(&self) -> UntilCommand
fn clone(&self) -> UntilCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UntilCommand
impl Debug for UntilCommand
Source§impl PartialEq for UntilCommand
impl PartialEq for UntilCommand
Source§fn eq(&self, other: &UntilCommand) -> bool
fn eq(&self, other: &UntilCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UntilCommand
Auto Trait Implementations§
impl Freeze for UntilCommand
impl RefUnwindSafe for UntilCommand
impl Send for UntilCommand
impl Sync for UntilCommand
impl Unpin for UntilCommand
impl UnsafeUnpin for UntilCommand
impl UnwindSafe for UntilCommand
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