pub struct SawTooth { /* private fields */ }Expand description
A sawtooth curve that repeats a given number of times over the unit interval.
The curve rises linearly from 0.0 to 1.0 and then falls discontinuously back to 0.0 each iteration.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for SawTooth
impl Freeze for SawTooth
impl Move for SawTooth
impl RefUnwindSafe for SawTooth
impl Send for SawTooth
impl Sync for SawTooth
impl Unpin for SawTooth
impl UnsafeUnpin for SawTooth
impl UnwindSafe for SawTooth
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