pub struct Tree { /* private fields */ }Implementations§
Source§impl Tree
impl Tree
pub fn new(checklist: Checklist) -> Self
pub fn title(&self) -> String
pub fn next_path(&self) -> Path
pub fn last_path(&self) -> Path
pub fn move_item(&mut self, _from: Path, _to: Path)
pub fn delete_item(&mut self, _path: Path)
pub fn set_current(&mut self, path: Path)
pub fn current_path(&self) -> Path
pub fn current_item(&self) -> ChecklistItem
pub fn as_treeview(&self) -> NamedView<ChecklistTree>
Auto Trait Implementations§
impl Freeze for Tree
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnwindSafe for Tree
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more