Browse Source

Fix public modifiers.

tuomas56 6 năm trước cách đây
mục cha
commit
291f2eb813
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      src/framebuffer.rs

+ 5 - 5
src/framebuffer.rs

@@ -27,16 +27,16 @@ pub enum FramebufferType<'a> {
 
 #[derive(Debug, PartialEq)]
 pub struct FramebufferField {
-    position: u8,
-    size: u8
+    pub position: u8,
+    pub size: u8
 }
 
 #[derive(Debug, PartialEq)]
 #[repr(C, packed)]
 pub struct FramebufferColor {
-    red: u8,
-    green: u8,
-    blue: u8
+    pub red: u8,
+    pub green: u8,
+    pub blue: u8
 }
 
 struct Reader {