pub struct FootnoteReference {
pub position: Option<Position>,
pub identifier: String,
pub label: Option<String>,
}Expand description
GFM: footnote reference.
> | [^a]
^^^^Fields§
§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 FootnoteReference
impl Clone for FootnoteReference
Source§fn clone(&self) -> FootnoteReference
fn clone(&self) -> FootnoteReference
Returns a duplicate 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 FootnoteReference
impl Debug for FootnoteReference
Source§impl PartialEq for FootnoteReference
impl PartialEq for FootnoteReference
impl Eq for FootnoteReference
impl StructuralPartialEq for FootnoteReference
Auto Trait Implementations§
impl Freeze for FootnoteReference
impl RefUnwindSafe for FootnoteReference
impl Send for FootnoteReference
impl Sync for FootnoteReference
impl Unpin for FootnoteReference
impl UnwindSafe for FootnoteReference
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