| 1 | use std::time::Duration; |
| 2 | |
| 3 | pub struct Animation { |
| 4 | duration: Duration, |
| 5 | easing: EasingFunction, |
| 6 | start_value: f32, |
| 7 | end_value: f32, |
| 8 | current_value: f32, |
| 9 | progress: f32, |
| 10 | } |
| 11 | |
| 12 | #[derive(Clone, Copy)] |
| 13 | pub enum EasingFunction { |
nothing calls this directly
no outgoing calls
no test coverage detected