pub struct TimeCurveSample {
pub source_time: f64,
pub speed: f64,
}Expand description
A clip’s time map at one timeline time.
Fields§
§source_time: f64The source time the map names there, in ticks. A curve’s and a forward clip’s are not rounded to a tick, and a curve’s is not held inside the source range.
speed: f64How fast the source time moves there, in source ticks per timeline tick: 1 is the
source’s own speed. Where the map has a corner it is the speed the map arrives with.
Finite: a vertical tangent gives the largest finite f64 with its sign.
Trait Implementations§
Source§impl Clone for TimeCurveSample
impl Clone for TimeCurveSample
impl Copy for TimeCurveSample
Source§impl Debug for TimeCurveSample
impl Debug for TimeCurveSample
Source§impl PartialEq for TimeCurveSample
impl PartialEq for TimeCurveSample
impl StructuralPartialEq for TimeCurveSample
Auto Trait Implementations§
impl Forget for TimeCurveSample
impl Freeze for TimeCurveSample
impl Move for TimeCurveSample
impl RefUnwindSafe for TimeCurveSample
impl Send for TimeCurveSample
impl Sync for TimeCurveSample
impl Unpin for TimeCurveSample
impl UnsafeUnpin for TimeCurveSample
impl UnwindSafe for TimeCurveSample
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