diff options
Diffstat (limited to 'tree-viz/src/config.rs')
-rw-r--r-- | tree-viz/src/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tree-viz/src/config.rs b/tree-viz/src/config.rs index 6f34291..18ed5cc 100644 --- a/tree-viz/src/config.rs +++ b/tree-viz/src/config.rs | |||
@@ -5,6 +5,7 @@ pub struct Config { | |||
5 | pub indent_level: usize, | 5 | pub indent_level: usize, |
6 | pub show_ranges: bool, | 6 | pub show_ranges: bool, |
7 | pub show_src: bool, | 7 | pub show_src: bool, |
8 | pub show_field_name: bool, | ||
8 | } | 9 | } |
9 | 10 | ||
10 | impl Default for Config { | 11 | impl Default for Config { |
@@ -19,6 +20,7 @@ impl Config { | |||
19 | indent_level: 2, | 20 | indent_level: 2, |
20 | show_ranges: true, | 21 | show_ranges: true, |
21 | show_src: true, | 22 | show_src: true, |
23 | show_field_name: true, | ||
22 | } | 24 | } |
23 | } | 25 | } |
24 | } | 26 | } |