pub struct List<'a> {
pub kind: ListKind,
pub start: Option<u64>,
pub items: Vec<ListItem<'a>>,
pub span: Span,
}Expand description
A list block containing multiple items.
Fields§
§kind: ListKindOrdered or unordered.
start: Option<u64>Starting number for ordered lists.
items: Vec<ListItem<'a>>List items.
span: SpanSource span.
Trait Implementations§
impl<'a> StructuralPartialEq for List<'a>
Auto Trait Implementations§
impl<'a> Freeze for List<'a>
impl<'a> RefUnwindSafe for List<'a>
impl<'a> Send for List<'a>
impl<'a> Sync for List<'a>
impl<'a> Unpin for List<'a>
impl<'a> UnwindSafe for List<'a>
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