Docs.rs
macroquad-0.4.15
macroquad 0.4.15
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
not-fl3
Dependencies
backtrace ^0.3.60
normal
optional
fontdue ^0.9
normal
glam ^0.27
normal
image ^0.24
normal
log ^0.4
normal
optional
macroquad_macro ^0.1.8
normal
miniquad =0.4.10
normal
quad-rand ^0.2.3
normal
quad-snd ^0.2
normal
optional
Versions
37.17%
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 rand
macroquad
0.4.15
Module rand
Module Items
Structs
Traits
Functions
In crate macroquad
macroquad
Module
rand
Copy item path
Source
Expand description
Cross platform random generator.
Structs
§
Rand
Generator
Slice
Choose
Iter
Traits
§
Choose
Random
Random
Range
Functions
§
gen_
range
rand
Returns a pseudo-random number in the range of 0 to u32::MAX.
srand
Seeds the pseudo-random number generator used by rand() with the value seed.