pub struct ListInfo {
pub list_id: usize,
pub style: ListStyle,
pub indent: u8,
pub marker: String,
pub item_index: usize,
}Expand description
List membership and marker information for a block.
Fields§
§list_id: usize§style: ListStyleThe list style (Disc, Decimal, LowerAlpha, etc.).
indent: u8Indentation level.
marker: StringPre-formatted marker text: “•”, “3.”, “(c)”, “IV.”, etc.
item_index: usize0-based index of this item within its list.
Trait Implementations§
impl Eq for ListInfo
impl StructuralPartialEq for ListInfo
Auto Trait Implementations§
impl Freeze for ListInfo
impl RefUnwindSafe for ListInfo
impl Send for ListInfo
impl Sync for ListInfo
impl Unpin for ListInfo
impl UnsafeUnpin for ListInfo
impl UnwindSafe for ListInfo
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