Trait conch_runtime::env::ShiftArgumentsEnvironment [] [src]

pub trait ShiftArgumentsEnvironment {
    fn shift_args(&mut self, amt: usize);
}

An interface for shifting positional shell and function arguments.

Required Methods

Shift parameters such that the positional parameter n will hold the value of the positional parameter n + amt.

If amt == 0, then no change to the positional parameters should be made.

Implementations on Foreign Types

impl<'a, T: ?Sized + ShiftArgumentsEnvironment> ShiftArgumentsEnvironment for &'a mut T
[src]

[src]

Implementors