diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-07-29 22:27:10 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-07-29 22:27:10 +0200 |
| commit | 42a27b48df427edf8dbb624c51551a90ecf2e7ea (patch) | |
| tree | 9892b610e5de7707dca7fadef0d470a837dd261d /src/font.rs | |
| parent | 2c6127dea611944abb09a0d38375ad7cf9baced0 (diff) | |
Change derive order
Diffstat (limited to 'src/font.rs')
| -rw-r--r-- | src/font.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font.rs b/src/font.rs index 911bd2f1..3dec3a63 100644 --- a/src/font.rs +++ b/src/font.rs @@ -163,7 +163,7 @@ impl Display for VerticalFontMetric { /// A length in em units. /// /// `1em` is the same as the font size. -#[derive(Default, Debug, Copy, Clone, Eq, PartialEq, PartialOrd)] +#[derive(Debug, Default, Copy, Clone, Eq, PartialEq, PartialOrd)] pub struct Em(N64); impl Em { @@ -370,7 +370,7 @@ pub struct FaceInfo { } /// Properties that distinguish a face from other faces in the same family. -#[derive(Default, Debug, Copy, Clone, Eq, PartialEq, Hash)] +#[derive(Debug, Default, Copy, Clone, Eq, PartialEq, Hash)] #[derive(Serialize, Deserialize)] pub struct FontVariant { /// The style of the face (normal / italic / oblique). |
