Docs.rs
rantz_random-1.1.0
rantz_random 1.1.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
BobG1983
Dependencies
bevy ^0.14.0
normal
optional
fastrand ^2.1.0
normal
rantz_spatial2d ^3.0.0
normal
optional
Versions
0%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
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
rantz_random
1.1.0
Random
Required Methods
random
Implementations on Foreign Types
Color
Compass
CompassHalfwinds
CompassRose
Degrees
IVec2
IVec3
IVec4
Position2D
Radians
UVec2
UVec3
UVec4
Vec2
Vec3
Vec4
bool
f32
f64
i128
i16
i32
i64
i8
isize
u128
u16
u32
u64
u8
usize
Object Safety
Implementors
In crate rantz_random
Trait
rantz_random
::
Random
Copy item path
source
·
[
−
]
pub trait Random { // Required method fn
random
() -> Self; }
Required Methods
§
source
fn
random
() -> Self
Object Safety
§
This trait is
not
object safe
.
Implementations on Foreign Types
§
source
§
impl
Random
for
Color
source
§
fn
random
() ->
Color
source
§
impl
Random
for
Compass
source
§
fn
random
() ->
Compass
source
§
impl
Random
for
CompassHalfwinds
source
§
fn
random
() ->
CompassHalfwinds
source
§
impl
Random
for
CompassRose
source
§
fn
random
() ->
CompassRose
source
§
impl
Random
for
bool
source
§
fn
random
() ->
bool
source
§
impl
Random
for
f32
source
§
fn
random
() ->
f32
source
§
impl
Random
for
f64
source
§
fn
random
() ->
f64
source
§
impl
Random
for
i8
source
§
fn
random
() ->
i8
source
§
impl
Random
for
i16
source
§
fn
random
() ->
i16
source
§
impl
Random
for
i32
source
§
fn
random
() ->
i32
source
§
impl
Random
for
i64
source
§
fn
random
() ->
i64
source
§
impl
Random
for
i128
source
§
fn
random
() ->
i128
source
§
impl
Random
for
isize
source
§
fn
random
() ->
isize
source
§
impl
Random
for
u8
source
§
fn
random
() ->
u8
source
§
impl
Random
for
u16
source
§
fn
random
() ->
u16
source
§
impl
Random
for
u32
source
§
fn
random
() ->
u32
source
§
impl
Random
for
u64
source
§
fn
random
() ->
u64
source
§
impl
Random
for
u128
source
§
fn
random
() ->
u128
source
§
impl
Random
for
usize
source
§
fn
random
() ->
usize
source
§
impl
Random
for
Vec4
source
§
fn
random
() ->
Vec4
source
§
impl
Random
for
Vec2
source
§
fn
random
() ->
Vec2
source
§
impl
Random
for
Vec3
source
§
fn
random
() ->
Vec3
source
§
impl
Random
for
IVec2
source
§
fn
random
() ->
IVec2
source
§
impl
Random
for
IVec3
source
§
fn
random
() ->
IVec3
source
§
impl
Random
for
IVec4
source
§
fn
random
() ->
IVec4
source
§
impl
Random
for
UVec2
source
§
fn
random
() ->
UVec2
source
§
impl
Random
for
UVec3
source
§
fn
random
() ->
UVec3
source
§
impl
Random
for
UVec4
source
§
fn
random
() ->
UVec4
source
§
impl
Random
for
Degrees
source
§
fn
random
() ->
Degrees
source
§
impl
Random
for
Position2D
source
§
fn
random
() ->
Position2D
source
§
impl
Random
for
Radians
source
§
fn
random
() ->
Radians
Implementors
§