Struct radiant_utils::util::ARng[][src]

pub struct ARng(_);

A very simple, seedable atomic random number generator based on sin().

Methods

impl ARng
[src]

Creates a new instance with given seed.

Returns a random number between 0.0 and non-inclusive 1.0

Returns a random number between min and non-inclusive max.

Important traits for &'a mut R

Returns a random item from given slice.

Auto Trait Implementations

impl Send for ARng

impl Sync for ARng