diff options
Diffstat (limited to 'src/common/mod.rs')
-rw-r--r-- | src/common/mod.rs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/common/mod.rs b/src/common/mod.rs new file mode 100644 index 0000000..1080e29 --- /dev/null +++ b/src/common/mod.rs @@ -0,0 +1,20 @@ +pub enum Version { + Gif87a, + Gif89a +} + +pub struct Color { + pub r: u8, + pub g: u8, + pub b: u8 +} + +impl Color { + pub fn new(r: u8, g: u8, b: u8) -> Self { + Self { + r, + g, + b + } + } +} \ No newline at end of file |