pub struct FootnoteHtmlRendererOptions {
pub link_class: String,
pub backlink_class: String,
pub backlink_html: String,
pub id_prefix: FootnoteIdPrefix,
}Expand description
Options for the footnote HTML renderer.
Fields§
§link_class: StringThe class name for the footnote reference link.
This defaults to “footnote-ref”.
backlink_class: StringThe class name for the footnote backlink.
This defaults to “footnote-backref”.
backlink_html: StringThe HTML content for the footnote backlink. This defaults to “↩︎” (the leftwards arrow with hook character).
id_prefix: FootnoteIdPrefixThe prefix for footnote IDs.
Trait Implementations§
Source§impl Clone for FootnoteHtmlRendererOptions
impl Clone for FootnoteHtmlRendererOptions
Source§fn clone(&self) -> FootnoteHtmlRendererOptions
fn clone(&self) -> FootnoteHtmlRendererOptions
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 FootnoteHtmlRendererOptions
impl Debug for FootnoteHtmlRendererOptions
impl RendererOptions for FootnoteHtmlRendererOptions
Auto Trait Implementations§
impl Freeze for FootnoteHtmlRendererOptions
impl RefUnwindSafe for FootnoteHtmlRendererOptions
impl Send for FootnoteHtmlRendererOptions
impl Sync for FootnoteHtmlRendererOptions
impl Unpin for FootnoteHtmlRendererOptions
impl UnsafeUnpin for FootnoteHtmlRendererOptions
impl UnwindSafe for FootnoteHtmlRendererOptions
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