pub struct EditRange {
pub mark_in: Timecode,
pub mark_out: Timecode,
}Expand description
An in/out range captured from mark-in and mark-out events.
Fields§
§mark_in: TimecodeMark-in timecode.
mark_out: TimecodeMark-out timecode.
Implementations§
Source§impl EditRange
impl EditRange
Sourcepub fn duration_frames(&self) -> u64
pub fn duration_frames(&self) -> u64
Duration of the edit range in frames.
Returns 0 if mark_out is at or before mark_in.
Sourcepub fn duration_seconds(&self) -> f64
pub fn duration_seconds(&self) -> f64
Duration of the edit range in seconds (approximate for pull-down rates).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EditRange
impl RefUnwindSafe for EditRange
impl Send for EditRange
impl Sync for EditRange
impl Unpin for EditRange
impl UnsafeUnpin for EditRange
impl UnwindSafe for EditRange
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