Struct NodeFootnoteReference

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.

Trait Implementations

impl Clone for NodeFootnoteReference

fn clone(&self) -> NodeFootnoteReference

impl Debug for NodeFootnoteReference

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for NodeFootnoteReference

fn default() -> NodeFootnoteReference

impl Eq for NodeFootnoteReference

impl PartialEq for NodeFootnoteReference

fn eq(&self, other: &NodeFootnoteReference) -> 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<T> Any for NodeFootnoteReference where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

fn borrow_mut(&mut self) -> &mut T

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

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for NodeFootnoteReference

fn from(t: T) -> T

Returns the argument unchanged.

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

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

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

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

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

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>