pub enum WarmUp {
None,
Samples(usize),
Seconds(f64),
SamplesWithInput {
samples: usize,
input: Rc<RefCell<InputSource>>,
},
}Variants§
None
No warm-up
Samples(usize)
Warm-up with a specific number of samples
Seconds(f64)
Warm-up with a specific duration in seconds
SamplesWithInput
Warm-up with a specific number of samples and input source
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WarmUp
impl !RefUnwindSafe for WarmUp
impl !Send for WarmUp
impl !Sync for WarmUp
impl Unpin for WarmUp
impl !UnwindSafe for WarmUp
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