Struct comrak::nodes::NodeFootnoteDefinition
source · pub struct NodeFootnoteDefinition {
pub name: String,
pub total_references: u32,
}
Expand description
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§
source§impl Clone for NodeFootnoteDefinition
impl Clone for NodeFootnoteDefinition
source§fn clone(&self) -> NodeFootnoteDefinition
fn clone(&self) -> NodeFootnoteDefinition
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 NodeFootnoteDefinition
impl Debug for NodeFootnoteDefinition
source§impl Default for NodeFootnoteDefinition
impl Default for NodeFootnoteDefinition
source§fn default() -> NodeFootnoteDefinition
fn default() -> NodeFootnoteDefinition
Returns the “default value” for a type. Read more
source§impl PartialEq for NodeFootnoteDefinition
impl PartialEq for NodeFootnoteDefinition
source§fn eq(&self, other: &NodeFootnoteDefinition) -> bool
fn eq(&self, other: &NodeFootnoteDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NodeFootnoteDefinition
impl StructuralEq for NodeFootnoteDefinition
impl StructuralPartialEq for NodeFootnoteDefinition
Auto Trait Implementations§
impl RefUnwindSafe for NodeFootnoteDefinition
impl Send for NodeFootnoteDefinition
impl Sync for NodeFootnoteDefinition
impl Unpin for NodeFootnoteDefinition
impl UnwindSafe for NodeFootnoteDefinition
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