pub struct SubshellCommand {
pub body: Vec<CompleteCommand>,
pub span: Span,
}Expand description
A subshell command ( compound_list ).
Fields§
§body: Vec<CompleteCommand>The commands inside the subshell.
span: SpanSource span.
Trait Implementations§
Source§impl Clone for SubshellCommand
impl Clone for SubshellCommand
Source§fn clone(&self) -> SubshellCommand
fn clone(&self) -> SubshellCommand
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 SubshellCommand
impl Debug for SubshellCommand
Source§impl PartialEq for SubshellCommand
impl PartialEq for SubshellCommand
Source§fn eq(&self, other: &SubshellCommand) -> bool
fn eq(&self, other: &SubshellCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubshellCommand
Auto Trait Implementations§
impl Freeze for SubshellCommand
impl RefUnwindSafe for SubshellCommand
impl Send for SubshellCommand
impl Sync for SubshellCommand
impl Unpin for SubshellCommand
impl UnsafeUnpin for SubshellCommand
impl UnwindSafe for SubshellCommand
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