pub struct ListData {
pub list_type: ListType,
pub tight: bool,
pub start: i64,
pub delimiter: String,
pub bullet_char: String,
pub padding: usize,
pub marker_offset: usize,
}Expand description
What sections 5.2 and 5.3 need to decide list identity and rendering.
Fields§
§list_type: ListType§tight: boolTight lists omit the <p> wrapper around item paragraphs. Decided
at finalize.
start: i64Ordered-list start number; ignored for bullet lists.
delimiter: String. or ) for ordered lists; a change of delimiter starts a new list.
bullet_char: String-, + or * for bullet lists; a change of char starts a new list.
padding: usizeColumns of padding between the marker and the item content.
marker_offset: usizeColumn at which the marker starts.
Trait Implementations§
impl Eq for ListData
impl StructuralPartialEq for ListData
Auto Trait Implementations§
impl Forget for ListData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.