Enum Interpolation Kind
pub enum InterpolationKind {
ZeroOrderHold,
Linear,
CatmullRom,
Lagrange3rd,
Lagrange4th,
}Expand description
Immutable reconstruction kernel and explicitly different input-sample delay.
Variants§
ZeroOrderHold
Previous source sample at floor(output index * input rate / output rate).
Linear
Two-point linear interpolation, zero nominal delay.
CatmullRom
Four-point cardinal cubic with half-difference slopes, one-sample delay.
Lagrange3rd
Four-point third-degree Lagrange polynomial, one-sample delay.
Lagrange4th
Five-point fourth-degree Lagrange polynomial, two-sample delay.
Trait Implementations§
§impl Clone for InterpolationKind
impl Clone for InterpolationKind
§fn clone(&self) -> InterpolationKind
fn clone(&self) -> InterpolationKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InterpolationKind
§impl Debug for InterpolationKind
impl Debug for InterpolationKind
impl Eq for InterpolationKind
§impl PartialEq for InterpolationKind
impl PartialEq for InterpolationKind
impl StructuralPartialEq for InterpolationKind
Auto Trait Implementations§
impl Freeze for InterpolationKind
impl RefUnwindSafe for InterpolationKind
impl Send for InterpolationKind
impl Sync for InterpolationKind
impl Unpin for InterpolationKind
impl UnsafeUnpin for InterpolationKind
impl UnwindSafe for InterpolationKind
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more