pub struct WaitRandom<T: Debug> {
pub min_secs: f32,
pub max_secs: f32,
/* private fields */
}Expand description
Waits for a random duration in [min, max] seconds.
Fields§
§min_secs: f32§max_secs: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for WaitRandom<T>
impl<T> RefUnwindSafe for WaitRandom<T>where
T: RefUnwindSafe,
impl<T> Send for WaitRandom<T>where
T: Send,
impl<T> Sync for WaitRandom<T>where
T: Sync,
impl<T> Unpin for WaitRandom<T>where
T: Unpin,
impl<T> UnsafeUnpin for WaitRandom<T>
impl<T> UnwindSafe for WaitRandom<T>where
T: UnwindSafe,
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