Function conch_runtime::spawn::for_with_args
[−]
[src]
pub fn for_with_args<T, I, S, E: ?Sized>(
name: T,
args: I,
body: Vec<S>
) -> ForArgs<I::IntoIter, S, E> where
I: IntoIterator<Item = E::Var>,
S: SpawnRef<E>,
E: VariableEnvironment,
E::VarName: From<T>,
Spawns a for
loop with the specified arguments.
For each element in args
, name
will be assigned with its value and
body
will be executed.