2
2
//!
3
3
//! You will rarely need to interact with this module directly unless you need to name one of the
4
4
//! iterator types.
5
+ //!
6
+ //! Requires crate feature `"rayon"`
5
7
6
8
use super :: collect;
7
9
use super :: rayon:: prelude:: * ;
@@ -16,6 +18,7 @@ use Bucket;
16
18
use Entries ;
17
19
use IndexMap ;
18
20
21
+ /// Requires crate feature `"rayon"`.
19
22
impl < K , V , S > IntoParallelIterator for IndexMap < K , V , S >
20
23
where K : Hash + Eq + Send ,
21
24
V : Send ,
@@ -60,6 +63,7 @@ impl<K: Send, V: Send> IndexedParallelIterator for IntoParIter<K, V> {
60
63
}
61
64
62
65
66
+ /// Requires crate feature `"rayon"`.
63
67
impl < ' a , K , V , S > IntoParallelIterator for & ' a IndexMap < K , V , S >
64
68
where K : Hash + Eq + Sync ,
65
69
V : Sync ,
@@ -110,6 +114,7 @@ impl<'a, K: Sync, V: Sync> IndexedParallelIterator for ParIter<'a, K, V> {
110
114
}
111
115
112
116
117
+ /// Requires crate feature `"rayon"`.
113
118
impl < ' a , K , V , S > IntoParallelIterator for & ' a mut IndexMap < K , V , S >
114
119
where K : Hash + Eq + Sync + Send ,
115
120
V : Send ,
@@ -147,6 +152,7 @@ impl<'a, K: Sync + Send, V: Send> IndexedParallelIterator for ParIterMut<'a, K,
147
152
}
148
153
149
154
155
+ /// Requires crate feature `"rayon"`.
150
156
impl < K , V , S > IndexMap < K , V , S >
151
157
where K : Hash + Eq + Sync ,
152
158
V : Sync ,
@@ -255,6 +261,7 @@ impl<'a, K: Sync, V: Sync> IndexedParallelIterator for ParValues<'a, K, V> {
255
261
}
256
262
257
263
264
+ /// Requires crate feature `"rayon"`.
258
265
impl < K , V , S > IndexMap < K , V , S >
259
266
where K : Hash + Eq + Send ,
260
267
V : Send ,
@@ -325,6 +332,7 @@ impl<'a, K: Send, V: Send> IndexedParallelIterator for ParValuesMut<'a, K, V> {
325
332
}
326
333
327
334
335
+ /// Requires crate feature `"rayon"`.
328
336
impl < K , V , S > FromParallelIterator < ( K , V ) > for IndexMap < K , V , S >
329
337
where K : Eq + Hash + Send ,
330
338
V : Send ,
@@ -343,6 +351,7 @@ impl<K, V, S> FromParallelIterator<(K, V)> for IndexMap<K, V, S>
343
351
}
344
352
}
345
353
354
+ /// Requires crate feature `"rayon"`.
346
355
impl < K , V , S > ParallelExtend < ( K , V ) > for IndexMap < K , V , S >
347
356
where K : Eq + Hash + Send ,
348
357
V : Send ,
@@ -357,6 +366,7 @@ impl<K, V, S> ParallelExtend<(K, V)> for IndexMap<K, V, S>
357
366
}
358
367
}
359
368
369
+ /// Requires crate feature `"rayon"`.
360
370
impl < ' a , K : ' a , V : ' a , S > ParallelExtend < ( & ' a K , & ' a V ) > for IndexMap < K , V , S >
361
371
where K : Copy + Eq + Hash + Send + Sync ,
362
372
V : Copy + Send + Sync ,
0 commit comments