pub struct ListItem {
pub checkbox: Option<Checkbox>,
pub number: Option<u64>,
pub blocks: Vec<Block>,
}Expand description
One list item: an optional checkbox, an optional explicit number, and the blocks the item holds (its text, then any nested lists or code).
Fields§
§checkbox: Option<Checkbox>§number: Option<u64>An explicit number (Org’s [@5] counter, AsciiDoc’s 3.); the
following items count on from it.
blocks: Vec<Block>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 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