Skip to content

Commit 8889cbc

Browse files
committed
Tweaks
1 parent 6b379a0 commit 8889cbc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

cmdapp/src/config.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
use std::str::FromStr;
22
use visioncortex::PathSimplifyMode;
33

4-
#[derive(Clone, Debug)]
4+
#[derive(Debug, Clone)]
55
pub enum Preset {
66
Bw,
77
Poster,
88
Photo,
99
}
1010

11-
#[derive(Clone, Debug)]
11+
#[derive(Debug, Clone)]
1212
pub enum ColorMode {
1313
Color,
1414
Binary,
1515
}
1616

17-
#[derive(Clone, Debug)]
17+
#[derive(Debug, Clone)]
1818
pub enum Hierarchical {
1919
Stacked,
2020
Cutout,
2121
}
2222

2323
/// Converter config
24-
#[derive(Clone, Debug)]
24+
#[derive(Debug, Clone)]
2525
pub struct Config {
2626
pub color_mode: ColorMode,
2727
pub hierarchical: Hierarchical,
@@ -36,7 +36,7 @@ pub struct Config {
3636
pub path_precision: Option<u32>,
3737
}
3838

39-
#[derive(Clone, Debug)]
39+
#[derive(Debug, Clone)]
4040
pub(crate) struct ConverterConfig {
4141
pub color_mode: ColorMode,
4242
pub hierarchical: Hierarchical,

cmdapp/src/svg.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
use std::fmt;
22
use visioncortex::{Color, CompoundPath, PointF64};
33

4-
#[derive(Clone, Debug)]
4+
#[derive(Debug, Clone)]
55
pub struct SvgFile {
66
pub paths: Vec<SvgPath>,
77
pub width: usize,
88
pub height: usize,
99
pub path_precision: Option<u32>,
1010
}
1111

12-
#[derive(Clone, Debug)]
12+
#[derive(Debug, Clone)]
1313
pub struct SvgPath {
1414
pub path: CompoundPath,
1515
pub color: Color,

0 commit comments

Comments
 (0)