pub struct KeyFrame {
pub time: f64,
pub value: f64,
pub easing_function: EasingFunction,
}Fields§
§time: f64§value: f64§easing_function: EasingFunctionEasing of the interval ending at this key frame.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for KeyFrame
impl !Send for KeyFrame
impl !Sync for KeyFrame
impl !UnwindSafe for KeyFrame
impl Freeze for KeyFrame
impl Unpin for KeyFrame
impl UnsafeUnpin for KeyFrame
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