From faae4b40c70d6e0ff3a5123345c2a406e626a23c Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Sat, 2 Nov 2024 15:17:35 +0100 Subject: [PATCH] animations: derive Debug --- src/animations.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/animations.rs b/src/animations.rs index a90d38e..ba687d8 100644 --- a/src/animations.rs +++ b/src/animations.rs @@ -8,12 +8,14 @@ use crate::render::{Shader, Surface}; use crate::task::Task; use crate::lib8::IntoRgb8; +#[derive(Debug)] pub struct IdleTask { frame: u8, surface: T, updater: Periodically } +#[derive(Debug)] struct IdleShader { frame: u8 } @@ -74,6 +76,7 @@ impl Pattern { } } +#[derive(Debug)] struct TestShader { pattern: Pattern } @@ -97,6 +100,7 @@ impl Shader for TestShader { } } +#[derive(Debug)] pub struct TestPattern { surface: T, updater: Periodically,