pub enum ConstructDispo {
InlineFootnote {
end: usize,
},
NativeSpan {
end: usize,
},
FootnoteReference {
end: usize,
},
BracketedCitation {
end: usize,
},
BareCitation {
end: usize,
},
BracketedSpan {
end: usize,
},
}Expand description
A standalone Pandoc inline construct recognised by build_ir and
dispatched directly from the emission walk. Carries the construct’s
full source range so the emission walk can slice the content for the
existing emit_* helpers without re-running the recognition.
Variants§
InlineFootnote
^[note text] — emit via emit_inline_footnote after slicing
the inner content.
NativeSpan
<span ...>...</span> — emit via emit_native_span after
re-parsing the open-tag attributes from the source range.
FootnoteReference
[^id] — emit via emit_footnote_reference after extracting
the label id from the source range.
BracketedCitation
[@cite] — emit via emit_bracketed_citation after slicing
the inner content.
BareCitation
@key or -@key — emit via emit_bare_citation (or
emit_crossref when is_quarto_crossref_key matches and
extensions.quarto_crossrefs is enabled).
BracketedSpan
[content]{attrs} — emit via emit_bracketed_span after
slicing the inner content and attribute string.
Trait Implementations§
Source§impl Clone for ConstructDispo
impl Clone for ConstructDispo
Source§fn clone(&self) -> ConstructDispo
fn clone(&self) -> ConstructDispo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConstructDispo
impl Debug for ConstructDispo
Source§impl PartialEq for ConstructDispo
impl PartialEq for ConstructDispo
Source§fn eq(&self, other: &ConstructDispo) -> bool
fn eq(&self, other: &ConstructDispo) -> bool
self and other values to be equal, and is used by ==.