#[non_exhaustive]pub enum ResampleType {
SincBestQuality = 0,
SincMediumQuality = 1,
SincFastest = 2,
ZeroOrderHold = 3,
Linear = 4,
}Expand description
The resampler type used to distinguish the interpolation function
used by libsamplerate.
Has a great impact on quality and performance.
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.
Implementations§
Source§impl ResampleType
impl ResampleType
Trait Implementations§
Source§impl Clone for ResampleType
impl Clone for ResampleType
Source§fn clone(&self) -> ResampleType
fn clone(&self) -> ResampleType
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 ResampleType
impl Debug for ResampleType
Source§impl Hash for ResampleType
impl Hash for ResampleType
Source§impl PartialEq for ResampleType
impl PartialEq for ResampleType
impl Copy for ResampleType
impl Eq for ResampleType
impl StructuralPartialEq for ResampleType
Auto Trait Implementations§
impl Freeze for ResampleType
impl RefUnwindSafe for ResampleType
impl Send for ResampleType
impl Sync for ResampleType
impl Unpin for ResampleType
impl UnwindSafe for ResampleType
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