pub enum MixPolicy {
RequireSameFormat,
PadToLongest,
TruncateToShortest,
}Expand description
Policy for mixing clips with different lengths.
Variants§
RequireSameFormat
Require identical format and length.
PadToLongest
Pad shorter clips with silence.
TruncateToShortest
Truncate longer clips to the shortest input.
Trait Implementations§
impl Copy for MixPolicy
impl Eq for MixPolicy
impl StructuralPartialEq for MixPolicy
Auto Trait Implementations§
impl Freeze for MixPolicy
impl RefUnwindSafe for MixPolicy
impl Send for MixPolicy
impl Sync for MixPolicy
impl Unpin for MixPolicy
impl UnsafeUnpin for MixPolicy
impl UnwindSafe for MixPolicy
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