pub enum Inline {
Text {
text: BStr,
},
Chord(Chord),
Break,
Emph(Inlines),
Strong(Inlines),
Link(Link),
Image(Image),
ChorusRef(ChorusRef),
HtmlTag(HtmlTag),
Transpose(Transpose),
}
Variants§
Text
Chord(Chord)
Break
All line breaks are considered hard breaks
Emph(Inlines)
Strong(Inlines)
Link(Link)
Image(Image)
ChorusRef(ChorusRef)
HtmlTag(HtmlTag)
Transpose(Transpose)
Only used internally by the parser to apply transposition. Removed from the resulting AST, except in tests where this is used to verify transposition extensions parsing.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Inline
impl Send for Inline
impl Sync for Inline
impl Unpin for Inline
impl UnwindSafe for Inline
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