We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee232b5 commit 5338c15Copy full SHA for 5338c15
src/rust/lib_ccxr/src/common/options.rs
@@ -139,13 +139,7 @@ pub struct Decoder608Report {
139
pub cc_channels: [u8; 4],
140
}
141
142
-impl Default for Decoder608ColorCode {
143
- fn default() -> Self {
144
- Self::Userdefined
145
- }
146
-}
147
-
148
-#[derive(Debug, Copy, Clone)]
+#[derive(Debug, Copy, Clone, Default)]
149
pub enum Decoder608ColorCode {
150
White = 0,
151
Green = 1,
@@ -154,6 +148,7 @@ pub enum Decoder608ColorCode {
154
Red = 4,
155
Yellow = 5,
156
Magenta = 6,
+ #[default]
157
152
Userdefined = 7,
158
153
Black = 8,
159
Transparent = 9,
0 commit comments