From d8733d93d255bc01f180bbdcbb720f4d5c0a6711 Mon Sep 17 00:00:00 2001 From: Micah Johnston Date: Sat, 30 Nov 2024 20:23:44 -0600 Subject: [PATCH] impl Debug for Event and Data --- src/events.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/events.rs b/src/events.rs index 232fbc4..8ca8113 100644 --- a/src/events.rs +++ b/src/events.rs @@ -3,13 +3,13 @@ use std::slice; use crate::params::{ParamId, ParamValue}; -#[derive(Copy, Clone)] +#[derive(Copy, Clone, Debug)] pub struct Event { pub time: i64, pub data: Data, } -#[derive(Copy, Clone)] +#[derive(Copy, Clone, Debug)] #[non_exhaustive] pub enum Data { ParamChange { id: ParamId, value: ParamValue },