pub struct ServerKeyFrame<T> {
pub value: T,
pub expression: Option<Arc<Expression>>,
pub easing_function: Option<Arc<SharedEasing>>,
pub key: f32,
}Expand description
Server-side composition animation key frame
Fields§
§value: T§expression: Option<Arc<Expression>>§easing_function: Option<Arc<SharedEasing>>Always set on a key frame of a snapshot; None only on the frame an
instance builds for the starting value, whose easing is never used.
The easing in the form the render thread evaluates.
key: f32Trait Implementations§
Source§impl<T: Clone> Clone for ServerKeyFrame<T>
impl<T: Clone> Clone for ServerKeyFrame<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for ServerKeyFrame<T>
impl<T> !UnwindSafe for ServerKeyFrame<T>
impl<T> Freeze for ServerKeyFrame<T>where
T: Freeze,
impl<T> Send for ServerKeyFrame<T>where
T: Send,
impl<T> Sync for ServerKeyFrame<T>where
T: Sync,
impl<T> Unpin for ServerKeyFrame<T>where
T: Unpin,
impl<T> UnsafeUnpin for ServerKeyFrame<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