pub struct ListData {
pub ordered: bool,
pub start: u64,
pub tight: bool,
pub marker: char,
}Expand description
List metadata carried on an EnterBlock(List) event.
Fields§
§ordered: booltrue for ordered (1.) lists, false for bullet (-/*/+) lists.
start: u64Starting number for ordered lists.
tight: booltrue if the list is tight (no blank lines between items → no <p> wrappers).
marker: charThe marker character: -/*/+ for bullets, ./) for ordered.
Trait Implementations§
impl Eq for ListData
impl StructuralPartialEq for ListData
Auto Trait Implementations§
impl Freeze for ListData
impl RefUnwindSafe for ListData
impl Send for ListData
impl Sync for ListData
impl Unpin for ListData
impl UnsafeUnpin for ListData
impl UnwindSafe for ListData
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