pub struct Timeline {
pub tracks: Vec<Track>,
}Expand description
Timeline tracks ordered from back to front for visual tracks.
Fields§
§tracks: Vec<Track>Tracks in composition order.
Implementations§
Source§impl Timeline
impl Timeline
Sourcepub fn extent(&self) -> Option<TimeRange>
pub fn extent(&self) -> Option<TimeRange>
The smallest interval holding every clip and caption cue, which a whole-project render or
export covers. None for a timeline that shows nothing.
Sourcepub fn any_solo(&self) -> bool
pub fn any_solo(&self) -> bool
Whether any track solos its bus, which silences every bus that does not
(TrackAudio::is_silenced).
Sourcepub fn matte_sources(&self) -> HashSet<&ClipId>
pub fn matte_sources(&self) -> HashSet<&ClipId>
The clips that are another clip’s matte. Such a clip is drawn only into the mattes that name it and never composited itself.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Timeline
impl<'de> Deserialize<'de> for Timeline
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 StructuralPartialEq for Timeline
Auto Trait Implementations§
impl Freeze for Timeline
impl RefUnwindSafe for Timeline
impl Send for Timeline
impl Sync for Timeline
impl Unpin for Timeline
impl UnsafeUnpin for Timeline
impl UnwindSafe for Timeline
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