pub struct ListItem {
pub task: Option<TaskState>,
pub blocks: Vec<Block>,
}Expand description
Item within a list.
Fields§
§task: Option<TaskState>Task‑list checkbox state (GFM task‑lists). None ⇒ not a task list.
blocks: Vec<Block>Nested blocks inside the list item.
Trait Implementations§
impl StructuralPartialEq for ListItem
Auto Trait Implementations§
impl Freeze for ListItem
impl RefUnwindSafe for ListItem
impl Send for ListItem
impl Sync for ListItem
impl Unpin for ListItem
impl UnwindSafe for ListItem
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