Struct lister_cli::checklist::Checklist
source · pub struct Checklist {
pub title: String,
pub items: ChecklistItems,
}Fields§
§title: String§items: ChecklistItemsImplementations§
source§impl Checklist
impl Checklist
pub fn find_path_mut( &mut self, path: Path ) -> Option<(&mut ChecklistItems, usize)>
pub fn find_path(&self, path: Path) -> Option<(ChecklistItems, usize)>
pub fn append(&mut self, path: Path, new_item: ChecklistItem) -> Result<()>
pub fn path(&self, path: Path) -> Option<ChecklistItem>
Trait Implementations§
source§impl Ord for Checklist
impl Ord for Checklist
source§impl PartialEq for Checklist
impl PartialEq for Checklist
source§impl PartialOrd for Checklist
impl PartialOrd for Checklist
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Checklist
impl StructuralPartialEq for Checklist
Auto Trait Implementations§
impl RefUnwindSafe for Checklist
impl Send for Checklist
impl Sync for Checklist
impl Unpin for Checklist
impl UnwindSafe for Checklist
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