pub struct Mind { /* private fields */ }
Expand description
The productive mind.
Implementations§
source§impl Mind
impl Mind
pub fn from(tasks: Vec<Task>, reminders: Vec<Reminder>) -> Self
sourcepub fn remind_tasks(&mut self)
pub fn remind_tasks(&mut self)
Go through the reminders and taks proper action.
sourcepub fn productivity(&self) -> Productivity
pub fn productivity(&self) -> Productivity
Productivity from backlog
sourcepub fn task_to_reminder(&mut self, index: usize) -> Result<()>
pub fn task_to_reminder(&mut self, index: usize) -> Result<()>
Turn the specified task into a reminder