Function magnus::block::yield_values
source · pub fn yield_values<T, U>(vals: T) -> Result<U, Error>where
T: ArgList,
U: TryConvert,
Expand description
Yields multiple values to the block given to the current method.
Note: A method using yield_values
converted to an Enumerator with
to_enum
/Value::enumeratorize
will result in a non-functional
Enumerator. See YieldValues
for an alternative.