Function todo_lib::todo::clone_tasks [−][src]
pub fn clone_tasks(tasks: &TaskSlice, ids: &IDSlice) -> TaskVec
Expand description
Makes a clones of selected todos
tasks
- the full list of todosids
- the list of todo IDs that must be clones. Invalid IDs (e.g, ID greater than the number of items intasks
) are skipped
Returns the list of cloned todos. Size of the list is equal to or less than
size of ids
vector