pub enum KeyframeInterp {
Linear,
Smooth,
Step,
Cubic,
}Expand description
Interpolation mode for keyframes.
Variants§
Linear
Linear interpolation.
Smooth
Smooth step interpolation.
Step
Constant (step function).
Cubic
Cubic Hermite interpolation.
Trait Implementations§
Source§impl Clone for KeyframeInterp
impl Clone for KeyframeInterp
Source§fn clone(&self) -> KeyframeInterp
fn clone(&self) -> KeyframeInterp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyframeInterp
impl Debug for KeyframeInterp
impl Copy for KeyframeInterp
Auto Trait Implementations§
impl Freeze for KeyframeInterp
impl RefUnwindSafe for KeyframeInterp
impl Send for KeyframeInterp
impl Sync for KeyframeInterp
impl Unpin for KeyframeInterp
impl UnsafeUnpin for KeyframeInterp
impl UnwindSafe for KeyframeInterp
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