From 89aa6df441d806d6b3d32bc87cf34daf418cf06d Mon Sep 17 00:00:00 2001 From: Micha White Date: Mon, 13 Feb 2023 00:42:11 -0500 Subject: Export the Color trait --- tvg/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tvg/src') 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 { -- cgit v1.2.3