pub enum MotionWave {
Sin,
Square,
Triangle,
Sawtooth,
ReverseSawtooth,
Cos,
Bounce,
Custom(&'static [f32]),
WithOffsetUnits(&'static MotionWave, &'static [MotionOffsetUnit]),
}Variants§
Sin
Square
Triangle
Sawtooth
ReverseSawtooth
Cos
Bounce
Custom(&'static [f32])
WithOffsetUnits(&'static MotionWave, &'static [MotionOffsetUnit])
Wave with the authored unit of each key’s offset, in key order.
Trait Implementations§
Source§impl Clone for MotionWave
impl Clone for MotionWave
impl Copy for MotionWave
Auto Trait Implementations§
impl Forget for MotionWave
impl Freeze for MotionWave
impl Move for MotionWave
impl RefUnwindSafe for MotionWave
impl Send for MotionWave
impl Sync for MotionWave
impl Unpin for MotionWave
impl UnsafeUnpin for MotionWavewhere
&'static [f32]: UnsafeUnpin,
&'static MotionWave: UnsafeUnpin,
&'static [MotionOffsetUnit]: UnsafeUnpin,
impl UnwindSafe for MotionWavewhere
&'static [f32]: UnwindSafe,
&'static MotionWave: UnwindSafe,
&'static [MotionOffsetUnit]: UnwindSafe,
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