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
fn shift_args(&mut self, amt: usize)
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]
fn shift_args(&mut self, amt: usize)[src]
Implementors
impl<T: Clone> ShiftArgumentsEnvironment for ArgsEnv<T>impl<T: Clone> ShiftArgumentsEnvironment for AtomicArgsEnv<T>impl<A, IO, FD, L, V, EX, WD, N, ERR> ShiftArgumentsEnvironment for Env<A, IO, FD, L, V, EX, WD, N, ERR> where
A: ShiftArgumentsEnvironment,
N: Hash + Eq,impl<A, IO, FD, L, V, EX, WD, N, ERR> ShiftArgumentsEnvironment for AtomicEnv<A, IO, FD, L, V, EX, WD, N, ERR> where
A: ShiftArgumentsEnvironment,
N: Hash + Eq,