pub struct FootnoteDefinition {
pub children: Vec<Node>,
pub position: Option<Position>,
pub identifier: String,
pub label: Option<String>,
}Expand description
GFM: footnote definition.
> | [^a]: b
^^^^^^^Fields§
§children: Vec<Node>Content model.
position: Option<Position>Positional info.
identifier: StringValue that can match another node.
identifier is a source value: character escapes and character references
are not parsed.
Its value must be normalized.
label: Option<String>label is a string value: it works just like title on a link or a
lang on code: character escapes and character references are parsed.
To normalize a value, collapse markdown whitespace ([\t\n\r ]+) to a
space, trim the optional initial and/or final space, and perform
case-folding.
Trait Implementations§
Source§impl Clone for FootnoteDefinition
impl Clone for FootnoteDefinition
Source§impl Debug for FootnoteDefinition
impl Debug for FootnoteDefinition
impl Eq for FootnoteDefinition
Source§impl PartialEq for FootnoteDefinition
impl PartialEq for FootnoteDefinition
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