Struct devlog::task::Task [−][src]
pub struct Task { /* fields omitted */ }
Expand description
A task the user wants or needs to do.
Implementations
Create a new task with the specified status and content.
Parse a task from its string representation.
A task string always begins with one of four characters:
“*” means ToDo
, “^” means Started
, “+” means Completed
,
and “-” means Blocked
. The rest of the string, except for trailing whitespace,
is the content of the task. Returns None
if the string is not a valid task.
Returns the status of the task.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Task
impl UnwindSafe for Task
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.