pub struct BehavioralRulesMutator;Expand description
Adds, removes, or rephrases ONE behavioral rule from the curated pool.
Trait Implementations§
Source§impl Mutator for BehavioralRulesMutator
impl Mutator for BehavioralRulesMutator
Source§fn mutate<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
parent: &'life1 AgentConfig,
ctx: &'life2 mut MutationCtx<'life3>,
) -> Pin<Box<dyn Future<Output = Result<AgentConfig, MutationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn mutate<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
parent: &'life1 AgentConfig,
ctx: &'life2 mut MutationCtx<'life3>,
) -> Pin<Box<dyn Future<Output = Result<AgentConfig, MutationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Produce a challenger derived from
parent.Auto Trait Implementations§
impl Freeze for BehavioralRulesMutator
impl RefUnwindSafe for BehavioralRulesMutator
impl Send for BehavioralRulesMutator
impl Sync for BehavioralRulesMutator
impl Unpin for BehavioralRulesMutator
impl UnsafeUnpin for BehavioralRulesMutator
impl UnwindSafe for BehavioralRulesMutator
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