Struct NodeFootnoteDefinition

#[non_exhaustive]
pub struct NodeFootnoteDefinition { pub name: String, pub total_references: u32 }

The metadata of a footnote definition.

Fields

name: String

The name of the footnote.

total_references: u32

Total number of references to this footnote

Implementations

impl NodeFootnoteDefinition

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

Create a new NodeFootnoteDefinition with the given name.

Trait Implementations

impl Clone for NodeFootnoteDefinition

fn clone(&self) -> Self

impl Debug for NodeFootnoteDefinition

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

impl Default for NodeFootnoteDefinition

fn default() -> Self

impl Eq for NodeFootnoteDefinition

impl PartialEq for NodeFootnoteDefinition

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for NodeFootnoteDefinition

Auto Trait Implementations

impl Freeze for NodeFootnoteDefinition

impl RefUnwindSafe for NodeFootnoteDefinition

impl Send for NodeFootnoteDefinition

impl Sync for NodeFootnoteDefinition

impl Unpin for NodeFootnoteDefinition

impl UnsafeUnpin for NodeFootnoteDefinition

impl UnwindSafe for NodeFootnoteDefinition

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for NodeFootnoteDefinition

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

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

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

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

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