pub enum ListItemBlock {
Paragraph {
inlines: Vec<Inline>,
span: SourceSpan,
},
List {
ordered: bool,
items: Vec<ListItem>,
span: SourceSpan,
},
}Expand description
Ordered content inside a ListItem.
Variants§
Trait Implementations§
Source§impl Clone for ListItemBlock
impl Clone for ListItemBlock
Source§fn clone(&self) -> ListItemBlock
fn clone(&self) -> ListItemBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ListItemBlock
impl RefUnwindSafe for ListItemBlock
impl Send for ListItemBlock
impl Sync for ListItemBlock
impl Unpin for ListItemBlock
impl UnsafeUnpin for ListItemBlock
impl UnwindSafe for ListItemBlock
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