pub struct Fade { /* private fields */ }Expand description
Linear progression from 0.0 to 1.0 over a duration, with configurable easing.
Tracks elapsed time as Duration internally for precise accumulation
(no floating-point drift) and accurate overshoot calculation.
Implementations§
Trait Implementations§
Source§impl Animation for Fade
impl Animation for Fade
Source§fn is_complete(&self) -> bool
fn is_complete(&self) -> bool
Whether the animation has reached its end.
impl Copy for Fade
Auto Trait Implementations§
impl Freeze for Fade
impl RefUnwindSafe for Fade
impl Send for Fade
impl Sync for Fade
impl Unpin for Fade
impl UnsafeUnpin for Fade
impl UnwindSafe for Fade
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more