pub enum TextKind {
Show 13 variants
Str,
Symb,
Verbatim,
InlineMath,
DisplayMath,
Url,
Email,
FootnoteReference,
CitationReference,
SubstitutionReference,
Comment,
Doctype,
Cdata,
}Expand description
The single-string-payload node kinds, addable via Builder::add_text.
Variants§
Str
Symb
Verbatim
InlineMath
DisplayMath
Url
FootnoteReference
CitationReference
reStructuredText’s [CIT2002]_ — a use of a citation definition. The
payload is the label as WRITTEN, not the normalized name it resolves by.
SubstitutionReference
reStructuredText’s |name| — a use of a substitution definition.
Comment
Doctype
Cdata
Trait Implementations§
impl Copy for TextKind
impl Eq for TextKind
impl StructuralPartialEq for TextKind
Auto Trait Implementations§
impl Freeze for TextKind
impl RefUnwindSafe for TextKind
impl Send for TextKind
impl Sync for TextKind
impl Unpin for TextKind
impl UnsafeUnpin for TextKind
impl UnwindSafe for TextKind
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