pub struct ListItem {
pub text: String,
pub byte_range: Range<usize>,
pub line: usize,
}Expand description
A single list item (bullet or ordered), flattened.
Fields§
§text: StringItem text with inline markup stripped.
byte_range: Range<usize>Byte span in the original input.
line: usize1-based line number.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ListItem
impl RefUnwindSafe for ListItem
impl Send for ListItem
impl Sync for ListItem
impl Unpin for ListItem
impl UnsafeUnpin for ListItem
impl UnwindSafe for ListItem
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