summaryrefslogtreecommitdiff
path: root/tvg/src/lib.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2023-02-13 00:42:11 -0500
committerMicha White <botahamec@outlook.com>2023-02-13 00:42:11 -0500
commit89aa6df441d806d6b3d32bc87cf34daf418cf06d (patch)
treef92da7f7d1fd6edd53f3af49b7c7b72ad2284ad9 /tvg/src/lib.rs
parent89c4981fad88c0ae8353f6e934c1ec10d51b0fd7 (diff)
Export the Color trait
Diffstat (limited to 'tvg/src/lib.rs')
-rw-r--r--tvg/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvg/src/lib.rs b/tvg/src/lib.rs
index 011b5c7..3b585d7 100644
--- a/tvg/src/lib.rs
+++ b/tvg/src/lib.rs
@@ -1,7 +1,7 @@
use std::io::{self, Read};
use byteorder::{LittleEndian, ReadBytesExt};
-use colors::{Color, ColorTable};
+use colors::ColorTable;
use commands::Command;
use header::{CoordinateRange, Scale, TvgHeader};
use thiserror::Error;
@@ -11,7 +11,7 @@ mod commands;
mod header;
mod path;
-pub use colors::{Rgb565, Rgba16, Rgba8888, RgbaF32};
+pub use colors::{Color, Rgb565, Rgba16, Rgba8888, RgbaF32};
pub use header::SUPPORTED_VERSION;
pub struct TvgFile<C: Color> {