[][src]Function nyx::iter::stderr

pub fn stderr<I, T>(
    iter: impl IntoIterator<Item = T, IntoIter = I>
) -> Map<I, impl FnMut(T) -> T> where
    I: Iterator<Item = T>, 

Creates an iterator that yields the bytes by printing it to stderr.

Examples

use std::iter;

fn main() {
    nyx::iter::stderr(iter::repeat(0)).for_each(|_| ());
}