pub enum Item {
Value(Prefix, Arc<str>),
Task(Prefix, Option<bool>, Arc<str>),
}Expand description
Inference list or task item parsed from AIM content.
Carries an optional list prefix and, for tasks, an optional status.
Variants§
Value(Prefix, Arc<str>)
Value item with prefix and text.
Task(Prefix, Option<bool>, Arc<str>)
Task item with prefix, optional status (Some(true) completed, Some(false) failed, None pending), and text.
Trait Implementations§
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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