pub struct Interpolator {
pub duration: f32,
pub end_value: Range,
pub interpolation_direction: Direction,
pub interpolation_mode: Mode,
pub interpolation_type: Type,
pub is_additive: bool,
pub start_delay: f32,
pub start_value: Range,
pub use_relative_duration: bool,
}Expand description
generic interpolator
Fields§
§duration: f32§end_value: Range§interpolation_direction: Direction§interpolation_mode: Mode§interpolation_type: Type§is_additive: bool§start_delay: f32§start_value: Range§use_relative_duration: boolTrait Implementations§
Source§impl AsRef<Interpolator> for InkAnimInterpolator
impl AsRef<Interpolator> for InkAnimInterpolator
Source§fn as_ref(&self) -> &Interpolator
fn as_ref(&self) -> &Interpolator
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for Interpolator
impl Clone for Interpolator
Source§fn clone(&self) -> Interpolator
fn clone(&self) -> Interpolator
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 Interpolator
impl Debug for Interpolator
Source§impl<'de> Deserialize<'de> for Interpolator
impl<'de> Deserialize<'de> for Interpolator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for Interpolator
impl Display for Interpolator
Auto Trait Implementations§
impl Freeze for Interpolator
impl RefUnwindSafe for Interpolator
impl Send for Interpolator
impl Sync for Interpolator
impl Unpin for Interpolator
impl UnwindSafe for Interpolator
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