pub enum ConvertStrategy {
PreserveTime,
PreserveFrame,
PreserveDisplay,
}Expand description
Strategy for converting timecodes between different frame rates.
Variants§
PreserveTime
Preserve the wall-clock time as closely as possible.
PreserveFrame
Preserve the frame number (snap to nearest frame in target rate).
PreserveDisplay
Preserve the HH:MM:SS:FF display string (may change actual time).
Trait Implementations§
Source§impl Clone for ConvertStrategy
impl Clone for ConvertStrategy
Source§fn clone(&self) -> ConvertStrategy
fn clone(&self) -> ConvertStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConvertStrategy
impl Debug for ConvertStrategy
Source§impl PartialEq for ConvertStrategy
impl PartialEq for ConvertStrategy
impl Copy for ConvertStrategy
impl Eq for ConvertStrategy
impl StructuralPartialEq for ConvertStrategy
Auto Trait Implementations§
impl Freeze for ConvertStrategy
impl RefUnwindSafe for ConvertStrategy
impl Send for ConvertStrategy
impl Sync for ConvertStrategy
impl Unpin for ConvertStrategy
impl UnsafeUnpin for ConvertStrategy
impl UnwindSafe for ConvertStrategy
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