pub struct Formatting {
pub auto_comments: AutoComments,
pub comments_style: CommentsStyle,
pub doc_comments: DocComments,
pub enums_style: EnumsStyle,
pub indent_style: IndentStyle,
pub layout: Layout,
pub objects_style: ObjectsStyle,
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.
comments_style: CommentsStyleDetermines how comments 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.
objects_style: ObjectsStyleDetermines how objects should get displayed.
values_style: ValuesStyleDetermines how values should get displayed.
Trait Implementations§
Source§impl Clone for Formatting
impl Clone for Formatting
Source§fn clone(&self) -> Formatting
fn clone(&self) -> Formatting
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Formatting
impl Debug for Formatting
Source§impl Default for Formatting
impl Default for Formatting
Source§fn default() -> Formatting
fn default() -> Formatting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Formattingwhere
Formatting: Default,
impl<'de> Deserialize<'de> for Formattingwhere
Formatting: Default,
Source§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 Freeze for Formatting
impl RefUnwindSafe for Formatting
impl Send for Formatting
impl Sync for Formatting
impl Unpin for Formatting
impl UnwindSafe for Formatting
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