Struct jujutsu_lib::settings::JJRng
source · pub struct JJRng(_);
Expand description
This Rng uses interior mutability to allow generating random values using an immutable reference. It also fixes a specific seedable RNG for reproducibility.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for JJRng
impl Send for JJRng
impl Sync for JJRng
impl Unpin for JJRng
impl UnwindSafe for JJRng
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more