pub struct ListItem<'a> {
pub end: usize,
pub nodes: Vec<Node<'a>>,
pub start: usize,
}
Expand description
List item of an ordered list or unordered list.
Fields§
§end: usize
The byte position in the wiki text where the element ends.
nodes: Vec<Node<'a>>
The content of the element.
start: usize
The byte position in the wiki text where the element starts.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ListItem<'a>
impl<'a> RefUnwindSafe for ListItem<'a>
impl<'a> Send for ListItem<'a>
impl<'a> Sync for ListItem<'a>
impl<'a> Unpin for ListItem<'a>
impl<'a> UnwindSafe for ListItem<'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