pub enum TocStyle {
List,
Native,
}Expand description
How a writer supplies a table of contents.
Variants§
List
The contents are rendered as a nested list and placed in the toc template variable. The
default.
Native
The format assembles its own contents from a directive in its template, so only a boolean
toc flag is exposed and no list is generated.
Trait Implementations§
impl Copy for TocStyle
impl Eq for TocStyle
impl StructuralPartialEq for TocStyle
Auto Trait Implementations§
impl Freeze for TocStyle
impl RefUnwindSafe for TocStyle
impl Send for TocStyle
impl Sync for TocStyle
impl Unpin for TocStyle
impl UnsafeUnpin for TocStyle
impl UnwindSafe for TocStyle
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