pub struct Pulse { /* private fields */ }Expand description
Continuous sine-wave oscillation. Never completes.
value() oscillates between 0.0 and 1.0 at the given frequency (Hz).
Implementations§
Trait Implementations§
Source§impl Animation for Pulse
impl Animation for Pulse
Source§fn is_complete(&self) -> bool
fn is_complete(&self) -> bool
Whether the animation has reached its end.
impl Copy for Pulse
Auto Trait Implementations§
impl Freeze for Pulse
impl RefUnwindSafe for Pulse
impl Send for Pulse
impl Sync for Pulse
impl Unpin for Pulse
impl UnwindSafe for Pulse
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