From 637441239434fabedfe83f5abc1af4232c802f7a Mon Sep 17 00:00:00 2001 From: Genny Date: Thu, 23 Sep 2021 20:33:50 -0500 Subject: Improve API, monocommit, sorry --- src/colorimage.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/colorimage.rs (limited to 'src/colorimage.rs') diff --git a/src/colorimage.rs b/src/colorimage.rs new file mode 100644 index 0000000..71f2bee --- /dev/null +++ b/src/colorimage.rs @@ -0,0 +1,16 @@ +pub struct ColorImage { + width: u16, + height: u16, + data: Vec +} + +impl ColorImage { + pub fn new() { + + } +} + +pub enum Pixel { + Color(Color), + Transparent +} \ No newline at end of file -- cgit 1.4.1-3-g733a5