Docs.rs
audio-code-0.2.0
audio-code 0.2.0
Docs.rs crate page
MIT
24 October 2026
Links
Repository
crates.io
Source
Owners
ui-hater
Dependencies
chacha20poly1305 ^0.11
normal
cpal ^0.18.2
normal
fastrand ^2.5.0
normal
getrandom ^0.4
normal
glam ^0.34.1
normal
prismer ^0.1.4
normal
optional
sha2 ^0.11
normal
symphonia ^0.6.1
normal
sys-locale ^0.3.2
normal
winit ^0.30.13
normal
wxdragon ^0.9.23
normal
optional
dispatch2 ^0.3.1
normal
optional
objc2 ^0.6.5
normal
optional
objc2-app-kit ^0.3.2
normal
optional
objc2-avf-audio ^0.3.2
normal
optional
objc2-foundation ^0.3.2
normal
optional
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module random
audio_
code
0.2.0
Module random
Module Items
Functions
In audio_
code::
math
audio_code
::
math
Module
random
Copy item path
Source
Expand description
Random helpers so you do not need an extra crate for the basics.
Functions
ยง
chance
Returns
true
with the given probability (0.0 to 1.0).
int
Random integer in
min..=max
.
pick
Picks a random element, or
None
for an empty slice.
range
Random float in
min..max
.
seed
Seeds the random generator for reproducible results.