TaskMod

Trait TaskMod 

Source
pub trait TaskMod {
    // Required methods
    fn set_title(&mut self, title: impl ToString) -> &mut Self;
    fn set_body(&mut self, body: impl ToString) -> &mut Self;
    fn set_children(&mut self, children: Vec<Uuid>) -> &mut Self;
    fn add_child(&mut self, child: Uuid) -> &mut Self;
    fn insert_child(&mut self, child: Uuid, index: usize) -> &mut Self;
    fn remove_child(&mut self, child: &Uuid) -> &mut Self;
    fn set_progress(&mut self, progress: Progress) -> &mut Self;
}

Required Methods§

Source

fn set_title(&mut self, title: impl ToString) -> &mut Self

Source

fn set_body(&mut self, body: impl ToString) -> &mut Self

Source

fn set_children(&mut self, children: Vec<Uuid>) -> &mut Self

Source

fn add_child(&mut self, child: Uuid) -> &mut Self

Source

fn insert_child(&mut self, child: Uuid, index: usize) -> &mut Self

Source

fn remove_child(&mut self, child: &Uuid) -> &mut Self

Source

fn set_progress(&mut self, progress: Progress) -> &mut Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§