pub struct TransformOperationsAnimator;Expand description
Interpolates transform operation lists.
This is the interpolation behind
TransformOperationsTransition.
It is not registered for any property type, so key frame animations do
not select it.
Implementations§
Source§impl TransformOperationsAnimator
impl TransformOperationsAnimator
pub fn new() -> Self
Sourcepub fn interpolate(
&self,
progress: f64,
old_value: &Rc<TransformOperations>,
new_value: &Rc<TransformOperations>,
) -> Rc<TransformOperations>
pub fn interpolate( &self, progress: f64, old_value: &Rc<TransformOperations>, new_value: &Rc<TransformOperations>, ) -> Rc<TransformOperations>
Interpolates between two operation lists using the specified progress.
Sourcepub fn validate(&self, item: &Ref<AnimatorKeyFrame>)
pub fn validate(&self, item: &Ref<AnimatorKeyFrame>)
Validates a key frame: its value must be an operation list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TransformOperationsAnimator
impl RefUnwindSafe for TransformOperationsAnimator
impl Send for TransformOperationsAnimator
impl Sync for TransformOperationsAnimator
impl Unpin for TransformOperationsAnimator
impl UnsafeUnpin for TransformOperationsAnimator
impl UnwindSafe for TransformOperationsAnimator
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more