Implement Animation::value
This commit is contained in:
parent
bf600a0811
commit
890d852e05
1 changed files with 5 additions and 0 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue