#[non_exhaustive]pub enum LineStart {
Show 14 variants
Blockquote,
SetextUnderline,
ThematicBreak,
AtxHeading,
CodeFence,
HtmlBlock,
MathFence,
Liquid,
DirectiveOpener,
DirectiveCloser,
FootnoteDefinition,
ListItem,
TableDelimiterRow,
TableRow,
}Expand description
What a line would open at flow position. One variant per block construct; the payload-free mirror of the engine’s probe result.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Blockquote
SetextUnderline
Only reported with in_paragraph (an underline needs a paragraph).
ThematicBreak
AtxHeading
CodeFence
HtmlBlock
MathFence
Liquid
DirectiveOpener
A directive opening fence (:::name…): opens a container, interrupts a paragraph.
DirectiveCloser
A bare ::: run: closes an open directive, inert otherwise.
FootnoteDefinition
ListItem
TableDelimiterRow
Only reported with in_paragraph
(a delimiter row activates by stealing the paragraph’s last line as the header).
TableRow
A |-initiated line: a row if a table is open or forming.
Trait Implementations§
impl Copy for LineStart
impl Eq for LineStart
impl StructuralPartialEq for LineStart
Auto Trait Implementations§
impl Freeze for LineStart
impl RefUnwindSafe for LineStart
impl Send for LineStart
impl Sync for LineStart
impl Unpin for LineStart
impl UnsafeUnpin for LineStart
impl UnwindSafe for LineStart
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