pub struct KeyFrame<T> {
pub normalized_progress_key: f32,
pub value: T,
pub expression: Option<Arc<Expression>>,
pub easing_function: Rc<dyn IEasing>,
}Expand description
Composition animation key frame
Fields§
§normalized_progress_key: f32§value: T§expression: Option<Arc<Expression>>The expression of an expression key frame (null upstream for a
value key frame).
easing_function: Rc<dyn IEasing>Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for KeyFrame<T>
impl<T> !Send for KeyFrame<T>
impl<T> !Sync for KeyFrame<T>
impl<T> !UnwindSafe for KeyFrame<T>
impl<T> Freeze for KeyFrame<T>where
T: Freeze,
impl<T> Unpin for KeyFrame<T>where
T: Unpin,
impl<T> UnsafeUnpin for KeyFrame<T>where
T: UnsafeUnpin,
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