pub struct IfClause {
pub condition: Vec<CompleteCommand>,
pub then_body: Vec<CompleteCommand>,
pub elifs: Vec<(Vec<CompleteCommand>, Vec<CompleteCommand>)>,
pub else_body: Option<Vec<CompleteCommand>>,
pub redirects: Vec<Redirect>,
}Fields§
§condition: Vec<CompleteCommand>§then_body: Vec<CompleteCommand>§elifs: Vec<(Vec<CompleteCommand>, Vec<CompleteCommand>)>§else_body: Option<Vec<CompleteCommand>>§redirects: Vec<Redirect>Trait Implementations§
impl StructuralPartialEq for IfClause
Auto Trait Implementations§
impl Freeze for IfClause
impl RefUnwindSafe for IfClause
impl Send for IfClause
impl Sync for IfClause
impl Unpin for IfClause
impl UnsafeUnpin for IfClause
impl UnwindSafe for IfClause
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