pub struct PassthroughSegment {
pub clip_id: ClipId,
pub source_id: SourceId,
pub timeline_range: TimeRange,
pub source_range: TimeRange,
}Expand description
One clip’s share of a copied range.
Fields§
§clip_id: ClipIdThe clip whose source is copied.
source_id: SourceIdThe source copied.
timeline_range: TimeRangeThe part of the export range this clip shows.
source_range: TimeRangeThe source interval shown there.
Implementations§
Source§impl PassthroughSegment
impl PassthroughSegment
Sourcepub fn source_time(&self, time: MediaTime) -> MediaTime
pub fn source_time(&self, time: MediaTime) -> MediaTime
The source time shown at timeline time time, inside this segment.
Trait Implementations§
Source§impl Clone for PassthroughSegment
impl Clone for PassthroughSegment
Source§impl Debug for PassthroughSegment
impl Debug for PassthroughSegment
impl Eq for PassthroughSegment
Source§impl PartialEq for PassthroughSegment
impl PartialEq for PassthroughSegment
impl StructuralPartialEq for PassthroughSegment
Auto Trait Implementations§
impl Freeze for PassthroughSegment
impl RefUnwindSafe for PassthroughSegment
impl Send for PassthroughSegment
impl Sync for PassthroughSegment
impl Unpin for PassthroughSegment
impl UnsafeUnpin for PassthroughSegment
impl UnwindSafe for PassthroughSegment
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.