animations: derive Debug

This commit is contained in:
Victoria Fischer 2024-11-02 15:17:35 +01:00
parent 577a17e4e4
commit faae4b40c7

View File

@ -8,12 +8,14 @@ use crate::render::{Shader, Surface};
use crate::task::Task;
use crate::lib8::IntoRgb8;
#[derive(Debug)]
pub struct IdleTask<T: Surface> {
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<T: Surface> {
surface: T,
updater: Periodically,