pub struct List {
pub meta: NodeMeta,
pub ordered: bool,
pub start: Option<u64>,
pub delimiter: ListDelimiter,
pub tight: bool,
pub children: Vec<ListItem>,
}Expand description
A bullet or ordered list. Source: - a / 1. a lines.
Fields§
§meta: NodeMetaNode metadata (source span).
ordered: booltrue for an ordered list, false for a bullet list.
start: Option<u64>The starting number of an ordered list (e.g. 3. => Some(3)).
delimiter: ListDelimiterThe marker delimiter used by the list items.
tight: booltrue if the list is tight (no blank lines between items / no <p>).
children: Vec<ListItem>The list’s items.
Implementations§
Trait Implementations§
impl Eq for List
impl StructuralPartialEq for List
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnsafeUnpin for List
impl UnwindSafe for List
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