]> git.nihav.org Git - nihav.git/commitdiff
core/formats: make NASoniton fields public
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 16 Nov 2019 17:24:44 +0000 (18:24 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 16 Nov 2019 17:24:44 +0000 (18:24 +0100)
nihav-core/src/formats.rs

index 9a1d4e8cf1d712fee53a6632b6d2956bb3c6b9d3..937f330fd0c96f9b81cfc9145aa82930219f2173 100644 (file)
@@ -4,12 +4,12 @@ use std::fmt;
 
 #[derive(Debug,Copy,Clone,PartialEq)]
 pub struct NASoniton {
-    bits:       u8,
-    be:         bool,
-    packed:     bool,
-    planar:     bool,
-    float:      bool,
-    signed:     bool,
+    pub bits:       u8,
+    pub be:         bool,
+    pub packed:     bool,
+    pub planar:     bool,
+    pub float:      bool,
+    pub signed:     bool,
 }
 
 pub const SONITON_FLAG_BE     :u32 = 0x01;