pub struct ListItem {
pub children: Vec<Node>,
pub position: Option<Position>,
pub spread: bool,
pub checked: Option<bool>,
}Expand description
List item.
> | * a
^^^Fields§
§children: Vec<Node>Content model.
position: Option<Position>Positional info.
spread: boolThe item contains two or more children separated by a blank line
(when true), or not (when false).
checked: Option<bool>GFM: whether the item is done (when true), not done (when false),
or indeterminate or not applicable (None).
Trait Implementations§
impl Eq for ListItem
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 UnsafeUnpin 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