Skip to main content

lazy

Function lazy 

Source
pub fn lazy<T, I, F>(make: F) -> Stream<T>
where T: 'static, I: IntoIterator<Item = T>, I::IntoIter: 'static, F: FnOnce() -> I + 'static,
Expand description

A stream whose elements make produces, called on the first next().