Trait conch_runtime::env::SetArgumentsEnvironment
[−]
[src]
pub trait SetArgumentsEnvironment: ArgumentsEnvironment { type Args; fn set_args(&mut self, new_args: Self::Args) -> Self::Args; }
An interface for setting shell and function arguments.
Associated Types
type Args
A collection of arguments to set.
Required Methods
fn set_args(&mut self, new_args: Self::Args) -> Self::Args
Changes the environment's arguments to new_args
and returns the old arguments.
Implementations on Foreign Types
impl<'a, T: ?Sized + SetArgumentsEnvironment> SetArgumentsEnvironment for &'a mut T
[src]
Implementors
impl<T: Clone> SetArgumentsEnvironment for ArgsEnv<T> type Args = Rc<Vec<T>>;
impl<T: Clone> SetArgumentsEnvironment for AtomicArgsEnv<T> type Args = Arc<Vec<T>>;
impl<A, IO, FD, L, V, EX, WD, N, ERR> SetArgumentsEnvironment for Env<A, IO, FD, L, V, EX, WD, N, ERR> where
A: SetArgumentsEnvironment,
N: Hash + Eq, type Args = A::Args;impl<A, IO, FD, L, V, EX, WD, N, ERR> SetArgumentsEnvironment for AtomicEnv<A, IO, FD, L, V, EX, WD, N, ERR> where
A: SetArgumentsEnvironment,
N: Hash + Eq, type Args = A::Args;