Enum three::animation::Interpolation
source · pub enum Interpolation {
Discrete,
Linear,
Cubic,
}
Expand description
Describes the interpolation behaviour between keyframes.
Variants
Discrete
Immediate change between keyframe values.
Linear
Linear interpolation between keyframe values.
Cubic
Smooth cubic interpolation between keyframe values.
Trait Implementations
sourceimpl Clone for Interpolation
impl Clone for Interpolation
sourcefn clone(&self) -> Interpolation
fn clone(&self) -> Interpolation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Interpolation
impl Debug for Interpolation
sourceimpl Hash for Interpolation
impl Hash for Interpolation
sourceimpl PartialEq<Interpolation> for Interpolation
impl PartialEq<Interpolation> for Interpolation
sourcefn eq(&self, other: &Interpolation) -> bool
fn eq(&self, other: &Interpolation) -> bool
impl Copy for Interpolation
impl Eq for Interpolation
impl StructuralEq for Interpolation
impl StructuralPartialEq for Interpolation
Auto Trait Implementations
impl RefUnwindSafe for Interpolation
impl Send for Interpolation
impl Sync for Interpolation
impl Unpin for Interpolation
impl UnwindSafe for Interpolation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.