pub struct List {
pub children: Vec<Node>,
pub position: Option<Position>,
pub ordered: bool,
pub start: Option<u32>,
pub spread: bool,
}Expand description
List.
> | * a
^^^Fields§
§children: Vec<Node>Content model.
position: Option<Position>Positional info.
ordered: boolOrdered (true) or unordered (false).
start: Option<u32>Starting number of the list.
None when unordered.
spread: boolOne or more of its children are separated with a blank line from its
siblings (when true), or not (when false).
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