summaryrefslogtreecommitdiffstats
path: root/third_party/rust/rayon/src/prelude.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/rayon/src/prelude.rs')
-rw-r--r--third_party/rust/rayon/src/prelude.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/rust/rayon/src/prelude.rs b/third_party/rust/rayon/src/prelude.rs
new file mode 100644
index 0000000000..6eaca06c1b
--- /dev/null
+++ b/third_party/rust/rayon/src/prelude.rs
@@ -0,0 +1,17 @@
+//! The rayon prelude imports the various `ParallelIterator` traits.
+//! The intention is that one can include `use rayon::prelude::*` and
+//! have easy access to the various traits and methods you will need.
+
+pub use crate::iter::FromParallelIterator;
+pub use crate::iter::IndexedParallelIterator;
+pub use crate::iter::IntoParallelIterator;
+pub use crate::iter::IntoParallelRefIterator;
+pub use crate::iter::IntoParallelRefMutIterator;
+pub use crate::iter::ParallelBridge;
+pub use crate::iter::ParallelDrainFull;
+pub use crate::iter::ParallelDrainRange;
+pub use crate::iter::ParallelExtend;
+pub use crate::iter::ParallelIterator;
+pub use crate::slice::ParallelSlice;
+pub use crate::slice::ParallelSliceMut;
+pub use crate::str::ParallelString;