pub enum ShellWord {
Flag {
text: TextRange,
range: TextRange,
},
NumericLiteral {
text: TextRange,
range: TextRange,
},
BareWord {
text: TextRange,
range: TextRange,
},
QuotedString {
text: TextRange,
range: TextRange,
},
Variable {
expr: Box<Expr>,
range: TextRange,
},
GroupedExpr {
expr: Box<Expr>,
range: TextRange,
},
BraceList {
expr: Box<Expr>,
range: TextRange,
},
VectorLiteral {
expr: Box<Expr>,
range: TextRange,
},
Capture {
invoke: Box<InvokeExpr>,
range: TextRange,
},
}Variants§
Implementations§
Trait Implementations§
impl Eq for ShellWord
impl StructuralPartialEq for ShellWord
Auto Trait Implementations§
impl Freeze for ShellWord
impl RefUnwindSafe for ShellWord
impl Send for ShellWord
impl Sync for ShellWord
impl Unpin for ShellWord
impl UnsafeUnpin for ShellWord
impl UnwindSafe for ShellWord
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