From 746bdc5ef3e03a1528a8144cca963b6709ed0f9c Mon Sep 17 00:00:00 2001 From: Malik Olivier Boussejra Date: Sun, 15 Apr 2018 11:38:53 +0900 Subject: [PATCH] ImColor: Derive Eq, PartialEq, Debug --- src/window_draw_list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window_draw_list.rs b/src/window_draw_list.rs index 2257fae..7bb4e5c 100644 --- a/src/window_draw_list.rs +++ b/src/window_draw_list.rs @@ -12,7 +12,7 @@ use std::marker::PhantomData; /// The type implements `From`, `From`, `From<[f32; 4]>`, /// `From<[f32; 3]>`, `From<(f32, f32, f32, f32)>` and `From<(f32, f32, f32)>` /// for convenience. If alpha is not provided, it is assumed to be 1.0 (255). -#[derive(Copy, Clone)] +#[derive(Copy, Clone, Eq, PartialEq, Debug)] pub struct ImColor(ImU32); impl From for ImU32 {