pub struct Style { /* private fields */ }
Expand description
Typesetting style configuration for documents.
This contains settings that affect how the document abstract syntax tree is modified during typesetting.
Implementations
sourceimpl Style
impl Style
sourcepub fn links_as_notes(&self) -> bool
pub fn links_as_notes(&self) -> bool
Should hyperlinks in the document be rendered as footnotes or endnotes?
A link is like the HTML <a>
element. The choice of footnote
versus endnote is made by the typesetting backend. HTML uses
endnotes, PDF uses footnotes.
sourcepub fn typeset_links_as_notes(&mut self)
pub fn typeset_links_as_notes(&mut self)
Make links be typeset as notes.
Default is that they are typeset as links. This can’t be unset.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more