[−][src]Function rustask::commands::task::task_f
pub fn task_f(task: &Task) -> bool
Filters a task, based on the priority
Examples
use rustask::commands::task::*; let task = Task::new("task".to_string(), Some(Priority::Urgent)); assert_eq!(task_f(&task), true);