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. None for a timeline that shows
nothing. A whole-project export covers Project::default_export_range instead.
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 Forget for Timeline
impl Freeze for Timeline
impl Move 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