empty.rs
SHA-2567d999a21fb6b1b72490bd4fcd89229b6acef58892ecc4bdc3ce99a19a8c448ec
Malecule∅
Evidence
1use iter::plumbing::*;
2use iter::*;
3
4use std;
5use std::fmt;
6use std::marker::PhantomData;
7
8/// Creates a parallel iterator that produces nothing.
9///
10/// This admits no parallelism on its own, but it could be used for code that
11/// deals with generic parallel iterators.
12///
13/// # Examples
⋯4 lines
⋯7 lines
27}
28
29/// Iterator adaptor for [the `empty()` function](fn.empty.html).
30pub struct Empty<T: Send> {
31 marker: PhantomData<T>,
32}
33