pub struct TimeKeyframe {
pub time: MediaTime,
pub source_time: MediaTime,
pub interpolation: Interpolation,
}Expand description
One keyframe of a TimeMap::Curve.
Fields§
§time: MediaTimeTimeline time of this value.
source_time: MediaTimeSource time shown at time; from the start of the clip’s source range to its end.
interpolation: InterpolationInterpolation from this keyframe to its successor. A value_bezier’s leave and
arrive are in ticks of source time.
Trait Implementations§
Source§impl Clone for TimeKeyframe
impl Clone for TimeKeyframe
Source§impl Debug for TimeKeyframe
impl Debug for TimeKeyframe
Source§impl<'de> Deserialize<'de> for TimeKeyframe
impl<'de> Deserialize<'de> for TimeKeyframe
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
Source§impl PartialEq for TimeKeyframe
impl PartialEq for TimeKeyframe
Source§impl Serialize for TimeKeyframe
impl Serialize for TimeKeyframe
impl StructuralPartialEq for TimeKeyframe
Auto Trait Implementations§
impl Forget for TimeKeyframe
impl Freeze for TimeKeyframe
impl Move for TimeKeyframe
impl RefUnwindSafe for TimeKeyframe
impl Send for TimeKeyframewhere
RawVecInner: Send,
impl Sync for TimeKeyframewhere
RawVecInner: Sync,
impl Unpin for TimeKeyframe
impl UnsafeUnpin for TimeKeyframe
impl UnwindSafe for TimeKeyframewhere
RawVecInner: 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