Struct conch_runtime::spawn::builtin::Shift [] [src]

pub struct Shift<I> { /* fields omitted */ }

Represents a shift builtin command.

The shift builtin command will shift all shell or function positional arguments up by the specified amount. For example, shifting by 2 will result in $1 holding the previous value of $3, $2 holding the previous value of $4, and so on.

Trait Implementations

impl<I: Debug> Debug for Shift<I>
[src]

[src]

Formats the value using the given formatter.

impl<I: PartialEq> PartialEq for Shift<I>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<I: Eq> Eq for Shift<I>
[src]

impl<I: Clone> Clone for Shift<I>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T, I, E: ?Sized> Spawn<E> for Shift<I> where
    T: StringWrapper,
    I: Iterator<Item = T>,
    E: ArgumentsEnvironment + ShiftArgumentsEnvironment + ReportErrorEnvironment
[src]

The future that represents spawning the command. Read more

The future that represents the exit status of a fully bootstrapped command, which no longer requires an environment to be driven to completion. Read more

The type of error that a future will resolve with if it fails in a normal fashion. Read more

[src]

Spawn the command as a future. Read more