pub struct WorkItem {
pub complete: bool,
pub text: String,
pub line: usize,
}Expand description
One task item in a work checklist.
Fields§
§complete: boolWhether the item is checked ([x]).
text: StringItem text following the checkbox.
line: usize1-indexed line number within the note.
Trait Implementations§
impl Eq for WorkItem
impl StructuralPartialEq for WorkItem
Auto Trait Implementations§
impl Freeze for WorkItem
impl RefUnwindSafe for WorkItem
impl Send for WorkItem
impl Sync for WorkItem
impl Unpin for WorkItem
impl UnsafeUnpin for WorkItem
impl UnwindSafe for WorkItem
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