pub struct ChecklistItem {
pub text: String,
pub checked: bool,
/* private fields */
}Expand description
One checklist line.
Fields§
§text: StringThe text after the box.
checked: bool[X]; [ ] and [-] are open.
Trait Implementations§
Source§impl Clone for ChecklistItem
impl Clone for ChecklistItem
Source§impl Debug for ChecklistItem
impl Debug for ChecklistItem
impl Eq for ChecklistItem
Source§impl PartialEq for ChecklistItem
impl PartialEq 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 UnsafeUnpin 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