Skip to content

Commit

Permalink
impl Debug for Event and Data
Browse files Browse the repository at this point in the history
  • Loading branch information
micahrj committed Dec 1, 2024
1 parent 72d1323 commit d8733d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit d8733d9

Please sign in to comment.