Implement Animation::value

This commit is contained in:
Héctor Ramón Jiménez 2025-01-27 05:01:24 +01:00
parent bf600a0811
commit 890d852e05
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -95,6 +95,11 @@ where
{
self.raw.animate(f, at)
}
/// Retuns the current state of the [`Animation`].
pub fn value(&self) -> T {
self.raw.value
}
}
impl Animation<bool> {