pub trait TimelineValue {
// Required methods
fn shift(&mut self, delta: i64);
fn keep_window(&mut self, window: (i64, i64));
fn via_clip(&self) -> Option<&ClipId>;
fn via_clip_mut(&mut self) -> Option<&mut ClipId>;
}Expand description
A value whose keyframes are in timeline time.
Required Methods§
Sourcefn keep_window(&mut self, window: (i64, i64))
fn keep_window(&mut self, window: (i64, i64))
Keeps the keyframes that decide values inside window (ticks, end exclusive): those
inside it and the nearest one on each side.
Sourcefn via_clip_mut(&mut self) -> Option<&mut ClipId>
fn via_clip_mut(&mut self) -> Option<&mut ClipId>
Self::via_clip, to point it at another clip.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".