Struct NodeFootnoteDefinition

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

Trait Implementations

impl Clone for NodeFootnoteDefinition

fn clone(&self) -> NodeFootnoteDefinition

impl Debug for NodeFootnoteDefinition

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

impl Default for NodeFootnoteDefinition

fn default() -> NodeFootnoteDefinition

impl Eq for NodeFootnoteDefinition

impl PartialEq for NodeFootnoteDefinition

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for NodeFootnoteDefinition

fn from(t: T) -> T

Returns the argument unchanged.

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

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

impl<T, U> Into<U> for NodeFootnoteDefinition 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 NodeFootnoteDefinition where U: Into<T>,

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

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

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