about summary refs log tree commit diff
path: root/src/common/mod.rs
blob: 1080e296386791151f91358fdb5dadbd88f57a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
		}
	}
}