pub struct ListItem<'a> {
pub name: InlineTree<'a>,
pub children: Vec<BlockItem<'a>>,
}
Expand description
The struct to represent a list item.
Fields§
§name: InlineTree<'a>
A label of the list item.
children: Vec<BlockItem<'a>>
Children of the list item.
Trait Implementations§
impl<'a> Eq for ListItem<'a>
impl<'a> StructuralPartialEq for ListItem<'a>
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