pub struct AtomicTopLevelWord<T>(pub ShellWord<T, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>>);
Expand description
A top-level representation of a shell word. Uses Arc
wrappers for function declarations.
This wrapper unifies the provided top-level word representation,
ComplexWord
, and the top-level command representation, Command
,
while allowing them to be generic on their own.
Tuple Fields§
§0: ShellWord<T, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>>
Trait Implementations§
Source§impl<T: Clone> Clone for AtomicTopLevelWord<T>
impl<T: Clone> Clone for AtomicTopLevelWord<T>
Source§fn clone(&self) -> AtomicTopLevelWord<T>
fn clone(&self) -> AtomicTopLevelWord<T>
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<T: Debug> Debug for AtomicTopLevelWord<T>
impl<T: Debug> Debug for AtomicTopLevelWord<T>
Source§impl<T> Deref for AtomicTopLevelWord<T>
impl<T> Deref for AtomicTopLevelWord<T>
Source§type Target = ComplexWord<Word<T, SimpleWord<T, Parameter<T>, Box<ParameterSubstitution<Parameter<T>, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>, Arithmetic<T>>>>>>
type Target = ComplexWord<Word<T, SimpleWord<T, Parameter<T>, Box<ParameterSubstitution<Parameter<T>, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>, Arithmetic<T>>>>>>
The resulting type after dereferencing.
Source§impl<T> DerefMut for AtomicTopLevelWord<T>
impl<T> DerefMut for AtomicTopLevelWord<T>
Source§impl<T> From<ComplexWord<Word<T, SimpleWord<T, Parameter<T>, Box<ParameterSubstitution<Parameter<T>, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>, Arithmetic<T>>>>>>> for AtomicTopLevelWord<T>
impl<T> From<ComplexWord<Word<T, SimpleWord<T, Parameter<T>, Box<ParameterSubstitution<Parameter<T>, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>, Arithmetic<T>>>>>>> for AtomicTopLevelWord<T>
Source§fn from(
inner: ShellWord<T, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>>,
) -> Self
fn from( inner: ShellWord<T, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>>, ) -> Self
Converts to this type from the input type.
Source§impl<T> PartialEq<ComplexWord<Word<T, SimpleWord<T, Parameter<T>, Box<ParameterSubstitution<Parameter<T>, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>, Arithmetic<T>>>>>>> for AtomicTopLevelWord<T>where
T: PartialEq<T>,
impl<T> PartialEq<ComplexWord<Word<T, SimpleWord<T, Parameter<T>, Box<ParameterSubstitution<Parameter<T>, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>, Arithmetic<T>>>>>>> for AtomicTopLevelWord<T>where
T: PartialEq<T>,
Source§fn eq(
&self,
other: &ShellWord<T, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>>,
) -> bool
fn eq( &self, other: &ShellWord<T, AtomicTopLevelWord<T>, AtomicTopLevelCommand<T>>, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<T: PartialEq> PartialEq for AtomicTopLevelWord<T>
impl<T: PartialEq> PartialEq for AtomicTopLevelWord<T>
impl<T: Eq> Eq for AtomicTopLevelWord<T>
impl<T> StructuralPartialEq for AtomicTopLevelWord<T>
Auto Trait Implementations§
impl<T> Freeze for AtomicTopLevelWord<T>where
T: Freeze,
impl<T> RefUnwindSafe for AtomicTopLevelWord<T>where
T: RefUnwindSafe,
impl<T> Send for AtomicTopLevelWord<T>
impl<T> Sync for AtomicTopLevelWord<T>
impl<T> Unpin for AtomicTopLevelWord<T>where
T: Unpin,
impl<T> UnwindSafe for AtomicTopLevelWord<T>where
T: UnwindSafe + RefUnwindSafe,
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