pub enum TimeMap {
Forward,
Reverse,
Freeze {
source_time: MediaTime,
},
Loop {
mode: LoopMode,
},
}Expand description
How a clip plays its source range over its timeline range.
forward and reverse stretch the source range over the timeline range,
so their speed is the ratio of the two. A loop plays the source range at
its own speed, again and again, for as long as the timeline range lasts.
Variants§
Forward
From the start of the source range to its end.
Reverse
From the end of the source range to its start: pictures in reverse order and sound played backwards.
Freeze
One source instant for the whole clip, and silence.
Loop
The source range again and again, at its own speed.
Trait Implementations§
impl Copy for TimeMap
Source§impl<'de> Deserialize<'de> for TimeMap
impl<'de> Deserialize<'de> for TimeMap
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 Eq for TimeMap
impl StructuralPartialEq for TimeMap
Auto Trait Implementations§
impl Freeze for TimeMap
impl RefUnwindSafe for TimeMap
impl Send for TimeMap
impl Sync for TimeMap
impl Unpin for TimeMap
impl UnsafeUnpin for TimeMap
impl UnwindSafe for TimeMap
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