Trait rune::runtime::IteratorTrait
source · pub trait IteratorTrait: 'static {
// Required methods
fn size_hint(&self) -> (usize, Option<usize>);
fn next(&mut self) -> VmResult<Option<Value>>;
}
Expand description
The trait for interacting with an iterator.
This has a blanket implementation, and is primarily used to restrict the arguments that can be used in Iterator::from.