Docs.rs
fastrand-2.2.0
fastrand 2.2.0
Docs.rs crate page
Apache-2.0 OR MIT
Links
Repository
crates.io
Source
Owners
taiki-e
github:smol-rs:admins
Dependencies
getrandom ^0.2
dev
rand ^0.8
dev
wyhash ^0.5
dev
getrandom ^0.2
normal
optional
getrandom ^0.2
dev
wasm-bindgen-test ^0.3
dev
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
fastrand
2.2.0
fastrand
Function
shuffle
Copy item path
Source
pub fn shuffle<T>(slice: &mut
[T]
)
Available on
crate feature
std
only.
Expand description
Shuffles a slice randomly.