Struct comrak::nodes::NodeFootnoteReference
source · pub struct NodeFootnoteReference {
pub name: String,
pub ref_num: u32,
pub ix: u32,
}
Expand description
The metadata of a footnote reference.
Fields§
§name: String
The name of the footnote.
ref_num: u32
The index of reference to the same footnote
ix: u32
The index of the footnote in the document.
Trait Implementations§
source§impl Clone for NodeFootnoteReference
impl Clone for NodeFootnoteReference
source§fn clone(&self) -> NodeFootnoteReference
fn clone(&self) -> NodeFootnoteReference
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NodeFootnoteReference
impl Debug for NodeFootnoteReference
source§impl Default for NodeFootnoteReference
impl Default for NodeFootnoteReference
source§fn default() -> NodeFootnoteReference
fn default() -> NodeFootnoteReference
Returns the “default value” for a type. Read more
source§impl PartialEq for NodeFootnoteReference
impl PartialEq for NodeFootnoteReference
source§fn eq(&self, other: &NodeFootnoteReference) -> bool
fn eq(&self, other: &NodeFootnoteReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NodeFootnoteReference
impl StructuralEq for NodeFootnoteReference
impl StructuralPartialEq for NodeFootnoteReference
Auto Trait Implementations§
impl RefUnwindSafe for NodeFootnoteReference
impl Send for NodeFootnoteReference
impl Sync for NodeFootnoteReference
impl Unpin for NodeFootnoteReference
impl UnwindSafe for NodeFootnoteReference
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more