pub struct AppendStepsReducer;Expand description
AgentState Steps Reducer - Appends steps instead of replacing
Trait Implementations§
Source§impl Reducer<AgentState> for AppendStepsReducer
impl Reducer<AgentState> for AppendStepsReducer
Source§fn reduce(&self, current: &AgentState, update: &AgentState) -> AgentState
fn reduce(&self, current: &AgentState, update: &AgentState) -> AgentState
Reduce current state with an update
Auto Trait Implementations§
impl Freeze for AppendStepsReducer
impl RefUnwindSafe for AppendStepsReducer
impl Send for AppendStepsReducer
impl Sync for AppendStepsReducer
impl Unpin for AppendStepsReducer
impl UnsafeUnpin for AppendStepsReducer
impl UnwindSafe for AppendStepsReducer
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