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: String

The name of the footnote.

texts: Vec<(String, usize)>

The original text elements of the footnote, including their source position spans.

ref_num: u32

The index of reference to the same footnote

ix: u32

The index of the footnote in the document.

Implementations

impl NodeFootnoteReference

fn new(name: impl Into<String>) -> Self

Create a new NodeFootnoteReference with 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

impl StructuralPartialEq for NodeFootnoteReference

Auto Trait Implementations

impl Freeze for NodeFootnoteReference

impl RefUnwindSafe for NodeFootnoteReference

impl Send for NodeFootnoteReference

impl Sync for NodeFootnoteReference

impl Unpin for NodeFootnoteReference

impl UnsafeUnpin for NodeFootnoteReference

impl UnwindSafe for NodeFootnoteReference

Blanket Implementations

impl<F, T, S> SimdInto<T, S> for NodeFootnoteReference where T: SimdFrom<F, S>, S: Simd,

impl<T> Any for NodeFootnoteReference where T: 'static + ?Sized,

impl<T> Borrow<T> for NodeFootnoteReference where T: ?Sized,

impl<T> BorrowMut<T> for NodeFootnoteReference where T: ?Sized,

impl<T> CloneToUninit for NodeFootnoteReference where T: Clone,

impl<T> From<T> for NodeFootnoteReference

impl<T> ToOwned for NodeFootnoteReference where T: Clone,

impl<T, S> SimdFrom<T, S> for NodeFootnoteReference where S: Simd,

impl<T, U> Into<U> for NodeFootnoteReference where U: From<T>,

impl<T, U> TryFrom<U> for NodeFootnoteReference where U: Into<T>,

impl<T, U> TryInto<U> for NodeFootnoteReference where U: TryFrom<T>,