pub enum ChplTimescale {
Fixed(NonZeroU32),
Mvhd,
}Expand description
The timescale which is used for the chapter list (chpl).
| library | timescale |
|---|---|
| FFMpeg (default) | 10,000,000 |
| mp4v2 | 1,000 |
| mutagen | mvhd |
Variants§
Fixed(NonZeroU32)
Use a fixed timescale: the number of units that pass per second.
Mvhd
Use the timescale defined in the movie header (mvhd) atom.
Implementations§
Source§impl ChplTimescale
impl ChplTimescale
Trait Implementations§
Source§impl Clone for ChplTimescale
impl Clone for ChplTimescale
Source§fn clone(&self) -> ChplTimescale
fn clone(&self) -> ChplTimescale
Returns a copy 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 ChplTimescale
impl Debug for ChplTimescale
Source§impl Default for ChplTimescale
impl Default for ChplTimescale
Source§impl PartialEq for ChplTimescale
impl PartialEq for ChplTimescale
impl Copy for ChplTimescale
impl Eq for ChplTimescale
impl StructuralPartialEq for ChplTimescale
Auto Trait Implementations§
impl Freeze for ChplTimescale
impl RefUnwindSafe for ChplTimescale
impl Send for ChplTimescale
impl Sync for ChplTimescale
impl Unpin for ChplTimescale
impl UnwindSafe for ChplTimescale
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