Struct NodeFootnoteReference
#[non_exhaustive]
pub struct NodeFootnoteReference { pub name: String, pub texts: Vec<(String, usize)>, pub ref_num: u32, pub ix: u32 }
The metadata of a footnote reference.
Fields
name: StringThe name of the footnote.
texts: Vec<(String, usize)>The original text elements of the footnote, including their source position spans.
ref_num: u32The index of reference to the same footnote
ix: u32The index of the footnote in the document.
Implementations
impl NodeFootnoteReference
fn new(name: impl Into<String>) -> SelfCreate a new
NodeFootnoteReferencewith the given name.
Trait Implementations
impl Clone for NodeFootnoteReference
fn clone(&self) -> Self
impl Debug for NodeFootnoteReference
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for NodeFootnoteReference
fn default() -> Self
impl Eq for NodeFootnoteReference
impl PartialEq for NodeFootnoteReference
fn eq(&self, other: &Self) -> bool