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,