add Debug to color structs
@@ -5,15 +5,15 @@ use std::ops;
feature = "serialization",
derive(serde::Serialize, serde::Deserialize)
)]
-#[derive(PartialEq, Copy, Clone, Default)]
+#[derive(PartialEq, Copy, Clone, Default, Debug)]
/// Represents an R/G/B triplet, in the range 0..1 (32-bit float)
-pub struct RGB {
+pub struct RGB {No reason not to
pub r: f32,
pub g: f32,
pub b: f32,
}
-#[derive(PartialEq, Copy, Clone, Default)]
+#[derive(PartialEq, Copy, Clone, Default, Debug)]
/// Represents an H/S/V triplet, in the range 0..1 (32-bit float)
pub struct HSV {
pub h: f32,
