pub struct MutatorPicker { /* private fields */ }Expand description
Weighted random selection of a mutator.
Default weights: llm_rewrite=50, behavioral_rules=15, response_style=15, model_pref=10, tool_permissions=10.
Implementations§
Source§impl MutatorPicker
impl MutatorPicker
Sourcepub fn without_llm() -> Self
pub fn without_llm() -> Self
Picker with only the four non-LLM mutators. Use when no LLM is reachable — without this, ~50% of generations would silently fail. Weights are renormalized so the total is unchanged shape: behavioral_rules 30, response_style 30, model_pref 20, tool_perms 20.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MutatorPicker
impl !RefUnwindSafe for MutatorPicker
impl Send for MutatorPicker
impl Sync for MutatorPicker
impl Unpin for MutatorPicker
impl UnsafeUnpin for MutatorPicker
impl !UnwindSafe for MutatorPicker
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