pub enum SpecialParameter {
AllPositionalParameters {
concatenate: bool,
},
PositionalParameterCount,
LastExitStatus,
CurrentOptionFlags,
ProcessId,
LastBackgroundProcessId,
ShellName,
}Expand description
A special parameter, used in a parameter expansion.
Variants§
AllPositionalParameters
All positional parameters.
PositionalParameterCount
The count of positional parameters.
LastExitStatus
The last exit status in the shell.
CurrentOptionFlags
The current shell option flags.
ProcessId
The current shell process ID.
LastBackgroundProcessId
The last background process ID managed by the shell.
ShellName
The name of the shell.
Trait Implementations§
Source§impl Clone for SpecialParameter
impl Clone for SpecialParameter
Source§impl Debug for SpecialParameter
impl Debug for SpecialParameter
Auto Trait Implementations§
impl Forget for SpecialParameter
impl Freeze for SpecialParameter
impl Move for SpecialParameter
impl RefUnwindSafe for SpecialParameter
impl Send for SpecialParameter
impl Sync for SpecialParameter
impl Unpin for SpecialParameter
impl UnsafeUnpin for SpecialParameter
impl UnwindSafe for SpecialParameter
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