pub struct TasksFold;Expand description
Fold implementation for the tasks model.
Trait Implementations§
Source§impl RedexFold<TasksState> for TasksFold
impl RedexFold<TasksState> for TasksFold
Source§fn apply(
&mut self,
ev: &RedexEvent,
state: &mut TasksState,
) -> Result<(), RedexError>
fn apply( &mut self, ev: &RedexEvent, state: &mut TasksState, ) -> Result<(), RedexError>
Apply one event to
state. Return an error to stop the fold.Auto Trait Implementations§
impl Freeze for TasksFold
impl RefUnwindSafe for TasksFold
impl Send for TasksFold
impl Sync for TasksFold
impl Unpin for TasksFold
impl UnsafeUnpin for TasksFold
impl UnwindSafe for TasksFold
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