Struct tsk_lib::list::List[][src]

pub struct List {
    pub tasks: Vec<Task>,
}

Fields

Methods

impl List
[src]

Return a reference to the "current" task.

Add a task to the List, will sort after adding.

Add multiple tasks to the List, this is more efficient than calling add multiple times since only one sort is performed. It will empty the given vector.

Return a reference to the task at the given ID / index.

Return a reference to the first task with the given title.

Return an enumerated iterator over the tasks in this list.

Trait Implementations

impl Default for List
[src]

Returns the "default value" for a type. Read more

impl Debug for List
[src]

Formats the value using the given formatter. Read more

impl Clone for List
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for List
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl IntoIterator for List
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl Display for List
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for List

impl Sync for List