From 9fa14823043d559a9d8f835da8bc106572672596 Mon Sep 17 00:00:00 2001 From: Bryan Woods Date: Sun, 17 Nov 2024 16:53:02 -0800 Subject: [PATCH] Adding `Debug` to `Events --- composable-views/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composable-views/src/lib.rs b/composable-views/src/lib.rs index 8062ad0..db7a9a6 100644 --- a/composable-views/src/lib.rs +++ b/composable-views/src/lib.rs @@ -222,7 +222,7 @@ impl View for Result { /// [`View`] events. #[allow(missing_docs)] -#[derive(Copy, Clone, From, TryInto)] +#[derive(Copy, Clone, Debug, From, TryInto)] pub enum Event { Gesture(Gesture), Resize { width: u32, height: u32 }, @@ -230,7 +230,7 @@ pub enum Event { } /// touches… buttons… -#[derive(Copy, Clone)] +#[derive(Copy, Clone, Debug)] pub enum Gesture { Began { n: u8 }, Moved { n: u8 },