pub enum ConcatPolicy {
RequireSameFormat,
ResampleToFirst,
}Expand description
Policy for concatenating clips with different formats.
Variants§
RequireSameFormat
Require sample rate and channel count to match exactly.
ResampleToFirst
Resample all clips to the first clip’s sample rate. Channel counts must match.
Trait Implementations§
Source§impl Clone for ConcatPolicy
impl Clone for ConcatPolicy
Source§fn clone(&self) -> ConcatPolicy
fn clone(&self) -> ConcatPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConcatPolicy
Source§impl Debug for ConcatPolicy
impl Debug for ConcatPolicy
impl Eq for ConcatPolicy
Source§impl PartialEq for ConcatPolicy
impl PartialEq for ConcatPolicy
Source§fn eq(&self, other: &ConcatPolicy) -> bool
fn eq(&self, other: &ConcatPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConcatPolicy
Auto Trait Implementations§
impl Freeze for ConcatPolicy
impl RefUnwindSafe for ConcatPolicy
impl Send for ConcatPolicy
impl Sync for ConcatPolicy
impl Unpin for ConcatPolicy
impl UnsafeUnpin for ConcatPolicy
impl UnwindSafe for ConcatPolicy
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