Struct doku::json::Formatting [−][src]
pub struct Formatting {
pub auto_comments: AutoComments,
pub doc_comments: DocComments,
pub enums_style: EnumsStyle,
pub indent_style: IndentStyle,
pub layout: Layout,
pub values_style: ValuesStyle,
}Expand description
Determines the look & feel of the documentation.
Fields
auto_comments: AutoCommentsDetermines which auto-comments - hints, so to say - should get displayed.
doc_comments: DocCommentsDetermines if doc-comments should get displayed.
enums_style: EnumsStyleDetermines how enums should get displayed.
indent_style: IndentStyleDetermines the indenting style.
layout: LayoutDetermines whether the document should contain one or two columns.
values_style: ValuesStyleDetermines how values should get displayed.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Formatting
impl Send for Formatting
impl Sync for Formatting
impl Unpin for Formatting
impl UnwindSafe for Formatting
Blanket Implementations
Mutably borrows from an owned value. Read more