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 d87ce60 commit f6fe428Copy full SHA for f6fe428
cggtts/src/track/class.rs
@@ -15,6 +15,15 @@ pub enum CommonViewClass {
15
MultiChannel,
16
}
17
18
+impl std::fmt::Display for CommonViewClass {
19
+ fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
20
+ match self {
21
+ Self::SingleChannel => write!(f, "Single Channel"),
22
+ Self::MultiChannel => write!(f, "Multi Channel"),
23
+ }
24
25
+}
26
+
27
impl std::fmt::UpperHex for CommonViewClass {
28
fn fmt(&self, fmt: &mut std::fmt::Formatter) -> std::fmt::Result {
29
match self {
0 commit comments