pub struct Config {
pub marker: String,
pub max_level: u32,
}
Expand description
Configuration for Table of Contents generation
Fields§
§marker: String
Marker to use, defaults to <!-- toc -->\n
max_level: u32
The maximum level of headers to include in the table of contents.
Defaults to 4
.
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