Struct notan_math::ShuffleBag
source · [−]Expand description
Returns a random number for a predefined bag of them
Implementations
sourceimpl<T> ShuffleBag<T> where
T: Sized + Clone,
impl<T> ShuffleBag<T> where
T: Sized + Clone,
pub fn new_with_random(rng: Random, capacity: usize) -> Self
Auto Trait Implementations
impl<T> RefUnwindSafe for ShuffleBag<T> where
T: RefUnwindSafe,
impl<T> Send for ShuffleBag<T> where
T: Send,
impl<T> Sync for ShuffleBag<T> where
T: Sync,
impl<T> Unpin for ShuffleBag<T> where
T: Unpin,
impl<T> UnwindSafe for ShuffleBag<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more