1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
mod auto_comments;
mod doc_comments;
mod enums_style;
mod indent_style;
mod layout;
mod values_style;
pub use self::{
auto_comments::*, doc_comments::*, enums_style::*, indent_style::*,
layout::*, values_style::*,
};
use crate::*;
#[derive(Clone, Debug, Default, Deserialize)]
#[serde(deny_unknown_fields)]
#[serde(default)]
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,
}