pub struct ListItem {
pub content: Vec<Node>,
pub is_task: bool,
pub task_completed: bool,
}Expand description
Represents a list item
Fields§
§content: Vec<Node>List item content, containing one or more block-level elements
is_task: boolWhether this is a task list item
task_completed: boolWhether the task is completed
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