#[non_exhaustive]pub enum ExtractionStrategy {
TotalCount(i32),
Interval(Box<Duration>),
}
Expand description
Specify either total number of sprites or interval to create sprites.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TotalCount(i32)
Total number of sprites. Create the specified number of sprites distributed evenly across the timeline of the output media. The default is 100.
Interval(Box<Duration>)
Starting from 0s
, create sprites at regular intervals. Specify the
interval value in seconds.
Trait Implementations§
Source§impl Clone for ExtractionStrategy
impl Clone for ExtractionStrategy
Source§fn clone(&self) -> ExtractionStrategy
fn clone(&self) -> ExtractionStrategy
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 ExtractionStrategy
impl Debug for ExtractionStrategy
Source§impl PartialEq for ExtractionStrategy
impl PartialEq for ExtractionStrategy
impl StructuralPartialEq for ExtractionStrategy
Auto Trait Implementations§
impl Freeze for ExtractionStrategy
impl RefUnwindSafe for ExtractionStrategy
impl Send for ExtractionStrategy
impl Sync for ExtractionStrategy
impl Unpin for ExtractionStrategy
impl UnwindSafe for ExtractionStrategy
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