pub enum CommandPrefixOrSuffixItem {
IoRedirect(IoRedirect),
Word(Word),
AssignmentWord(Assignment, Word),
ProcessSubstitution(ProcessSubstitutionKind, SubshellCommand),
}Expand description
A prefix or suffix for a simple command.
Variants§
IoRedirect(IoRedirect)
An I/O redirection.
Word(Word)
A word.
AssignmentWord(Assignment, Word)
An assignment/declaration word.
ProcessSubstitution(ProcessSubstitutionKind, SubshellCommand)
A process substitution.
Trait Implementations§
Source§impl Clone for CommandPrefixOrSuffixItem
impl Clone for CommandPrefixOrSuffixItem
Source§fn clone(&self) -> CommandPrefixOrSuffixItem
fn clone(&self) -> CommandPrefixOrSuffixItem
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 moreSource§impl Debug for CommandPrefixOrSuffixItem
impl Debug for CommandPrefixOrSuffixItem
Auto Trait Implementations§
impl Freeze for CommandPrefixOrSuffixItem
impl RefUnwindSafe for CommandPrefixOrSuffixItem
impl Send for CommandPrefixOrSuffixItem
impl Sync for CommandPrefixOrSuffixItem
impl Unpin for CommandPrefixOrSuffixItem
impl UnwindSafe for CommandPrefixOrSuffixItem
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