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: bool
Ordered (true
) or unordered (false
).
start: Option<u32>
Starting number of the list.
None
when unordered.
spread: bool
One or more of its children are separated with a blank line from its
siblings (when true
), or not (when false
).
Trait Implementations§
source§impl PartialEq for List
impl PartialEq for List
impl Eq for List
impl StructuralEq for List
impl StructuralPartialEq for List
Auto Trait Implementations§
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin 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