Enum rand::distributions::uniform::UniformDurationMode
source · enum UniformDurationMode {
Small {
secs: u64,
nanos: Uniform<u32>,
},
Medium {
nanos: Uniform<u64>,
},
Large {
max_secs: u64,
max_nanos: u32,
secs: Uniform<u64>,
},
}
Variants§
Trait Implementations§
source§impl Clone for UniformDurationMode
impl Clone for UniformDurationMode
source§fn clone(&self) -> UniformDurationMode
fn clone(&self) -> UniformDurationMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UniformDurationMode
impl Debug for UniformDurationMode
impl Copy for UniformDurationMode
Auto Trait Implementations§
impl Freeze for UniformDurationMode
impl RefUnwindSafe for UniformDurationMode
impl Send for UniformDurationMode
impl Sync for UniformDurationMode
impl Unpin for UniformDurationMode
impl UnwindSafe for UniformDurationMode
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