Enum lister_cli::checklist::ChecklistItem
source · pub enum ChecklistItem {
Item {
title: String,
items: ChecklistItems,
collapsed: bool,
},
Task {
complete: bool,
title: String,
items: ChecklistItems,
collapsed: bool,
},
}Variants§
Implementations§
source§impl ChecklistItem
impl ChecklistItem
Trait Implementations§
source§impl Clone for ChecklistItem
impl Clone for ChecklistItem
source§fn clone(&self) -> ChecklistItem
fn clone(&self) -> ChecklistItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ChecklistItem
impl Debug for ChecklistItem
source§impl Display for ChecklistItem
impl Display for ChecklistItem
source§impl Ord for ChecklistItem
impl Ord for ChecklistItem
source§fn cmp(&self, other: &ChecklistItem) -> Ordering
fn cmp(&self, other: &ChecklistItem) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ChecklistItem
impl PartialEq for ChecklistItem
source§fn eq(&self, other: &ChecklistItem) -> bool
fn eq(&self, other: &ChecklistItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ChecklistItem
impl PartialOrd for ChecklistItem
source§fn partial_cmp(&self, other: &ChecklistItem) -> Option<Ordering>
fn partial_cmp(&self, other: &ChecklistItem) -> Option<Ordering>
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 ChecklistItem
impl StructuralPartialEq for ChecklistItem
Auto Trait Implementations§
impl RefUnwindSafe for ChecklistItem
impl Send for ChecklistItem
impl Sync for ChecklistItem
impl Unpin for ChecklistItem
impl UnwindSafe for ChecklistItem
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