pub struct VariantConfig {
pub name_prefix: String,
pub count: usize,
pub variant_fn: VariantFunction,
pub param_name: String,
pub parallel: bool,
}Expand description
Configuration for creating variants (config sweeps)
Fields§
§name_prefix: StringName prefix for variant branches
count: usizeNumber of variants to create
variant_fn: VariantFunctionFunction to generate variant parameter values
param_name: StringParameter name to vary
parallel: boolWhether to enable parallel execution (default: true)
Implementations§
Source§impl VariantConfig
impl VariantConfig
Auto Trait Implementations§
impl Freeze for VariantConfig
impl !RefUnwindSafe for VariantConfig
impl Send for VariantConfig
impl Sync for VariantConfig
impl Unpin for VariantConfig
impl !UnwindSafe for VariantConfig
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