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: bool
The 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§
source§impl PartialEq for ListItem
impl PartialEq for ListItem
impl Eq for ListItem
impl StructuralEq for ListItem
impl StructuralPartialEq for ListItem
Auto Trait Implementations§
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