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 duplicate 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§impl PartialOrd for ChecklistItem
impl PartialOrd for ChecklistItem
impl Eq for ChecklistItem
impl StructuralPartialEq for ChecklistItem
Auto Trait Implementations§
impl Freeze for ChecklistItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more