pub struct FootnoteDefinition {
pub meta: NodeMeta,
pub label: String,
pub identifier: String,
pub children: Vec<Block>,
}Expand description
A footnote definition. Source: [^id]: footnote text.
Fields§
§meta: NodeMetaNode metadata (source span).
label: StringThe label as written in the source (the text after ^).
identifier: StringThe normalized lookup key matching FootnoteReferences.
children: Vec<Block>The footnote’s block content.
Trait Implementations§
Source§impl Clone for FootnoteDefinition
impl Clone for FootnoteDefinition
Source§fn clone(&self) -> FootnoteDefinition
fn clone(&self) -> FootnoteDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FootnoteDefinition
impl Debug for FootnoteDefinition
impl Eq for FootnoteDefinition
Source§impl From<FootnoteDefinition> for Block
impl From<FootnoteDefinition> for Block
Source§fn from(node: FootnoteDefinition) -> Self
fn from(node: FootnoteDefinition) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FootnoteDefinition
impl PartialEq for FootnoteDefinition
Source§fn eq(&self, other: &FootnoteDefinition) -> bool
fn eq(&self, other: &FootnoteDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FootnoteDefinition
Auto Trait Implementations§
impl Freeze for FootnoteDefinition
impl RefUnwindSafe for FootnoteDefinition
impl Send for FootnoteDefinition
impl Sync for FootnoteDefinition
impl Unpin for FootnoteDefinition
impl UnsafeUnpin for FootnoteDefinition
impl UnwindSafe for FootnoteDefinition
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