pub enum Interp {
Linear,
Ease,
Hold,
}Expand description
How a segment moves from one key to the next.
Variants§
Linear
Ease
Cosine ease in and out, 0.5 - 0.5 cos(pi u): the prototype’s crop_x pan curve.
Hold
Keep this key’s value until the next key.
Implementations§
Trait Implementations§
impl Copy for Interp
impl Eq for Interp
impl StructuralPartialEq for Interp
Auto Trait Implementations§
impl Freeze for Interp
impl RefUnwindSafe for Interp
impl Send for Interp
impl Sync for Interp
impl Unpin for Interp
impl UnsafeUnpin for Interp
impl UnwindSafe for Interp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.