pub struct Options { /* private fields */ }
Expand description
Options to configure documentation generation.
Implementations§
Source§impl Options
impl Options
Sourcepub const fn include_standard_packages(
self,
include_standard_packages: bool,
) -> Self
pub const fn include_standard_packages( self, include_standard_packages: bool, ) -> Self
Include the standard package functions and modules documentation in the generated documentation markdown.
Sourcepub const fn order_items_with(self, items_order: ItemsOrder) -> Self
pub const fn order_items_with(self, items_order: ItemsOrder) -> Self
Order documentation items in a specific way.
See ItemsOrder
for more details.
Sourcepub const fn format_sections_with(self, sections_format: SectionFormat) -> Self
pub const fn format_sections_with(self, sections_format: SectionFormat) -> Self
Format doc comments ‘sections’, markdown that starts with the #
character,
with special formats.
See SectionFormat
for more details.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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