pub struct Keyframe<T> {
pub time: MediaTime,
pub value: T,
pub interpolation: Interpolation,
}Expand description
One timestamped control value.
Fields§
§time: MediaTimeTimestamp of this value: timeline time, except in a composition node’s settings, which are keyed in composition time, and in a shapes or layout generator’s tree, which is keyed in its picture’s time.
value: TValue at time.
interpolation: InterpolationInterpolation from this keyframe to its successor.
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Keyframe<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Keyframe<T>where
T: Deserialize<'de>,
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
impl<T: PartialEq> StructuralPartialEq for Keyframe<T>
Auto Trait Implementations§
impl<T> Freeze for Keyframe<T>where
T: Freeze,
impl<T> RefUnwindSafe for Keyframe<T>where
T: RefUnwindSafe,
impl<T> Send for Keyframe<T>where
T: Send,
impl<T> Sync for Keyframe<T>where
T: Sync,
impl<T> Unpin for Keyframe<T>where
T: Unpin,
impl<T> UnsafeUnpin for Keyframe<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Keyframe<T>where
T: UnwindSafe,
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