pub struct Config { /* private fields */ }Expand description
Configuration for HTML rendering output.
Implementations§
Source§impl Config
impl Config
Sourcepub fn with_width(self, width: usize) -> Self
pub fn with_width(self, width: usize) -> Self
Set the line width for pretty-printing HTML output.
Sourcepub fn with_anchor_prefix(self, anchor_prefix: String) -> Self
pub fn with_anchor_prefix(self, anchor_prefix: String) -> Self
Set the prefix for heading anchor IDs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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