#[non_exhaustive]pub enum LoopBenchmarkScenario {
Steady,
Shift,
Noisy,
}Available on crate feature
std only.Expand description
Identifies a supported loop benchmark scenario.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Steady
Variant representing steady.
Shift
Variant representing shift.
Noisy
Variant representing noisy.
Trait Implementations§
Source§impl Clone for LoopBenchmarkScenario
impl Clone for LoopBenchmarkScenario
impl Copy for LoopBenchmarkScenario
Source§impl Debug for LoopBenchmarkScenario
impl Debug for LoopBenchmarkScenario
Source§impl<'de> Deserialize<'de> for LoopBenchmarkScenario
impl<'de> Deserialize<'de> for LoopBenchmarkScenario
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LoopBenchmarkScenario
Source§impl PartialEq for LoopBenchmarkScenario
impl PartialEq for LoopBenchmarkScenario
Source§impl Serialize for LoopBenchmarkScenario
impl Serialize for LoopBenchmarkScenario
impl StructuralPartialEq for LoopBenchmarkScenario
Auto Trait Implementations§
impl Forget for LoopBenchmarkScenario
impl Freeze for LoopBenchmarkScenario
impl Move for LoopBenchmarkScenario
impl RefUnwindSafe for LoopBenchmarkScenario
impl Send for LoopBenchmarkScenario
impl Sync for LoopBenchmarkScenario
impl Unpin for LoopBenchmarkScenario
impl UnsafeUnpin for LoopBenchmarkScenario
impl UnwindSafe for LoopBenchmarkScenario
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