Enum ctru::services::ndsp::InterpolationType
source · #[repr(u8)]pub enum InterpolationType {
Polyphase = 0,
Linear = 1,
None = 2,
}
Expand description
Interpolation used between audio frames.
Variants§
Trait Implementations§
source§impl Clone for InterpolationType
impl Clone for InterpolationType
source§fn clone(&self) -> InterpolationType
fn clone(&self) -> InterpolationType
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InterpolationType
impl Debug for InterpolationType
source§impl From<InterpolationType> for ndspInterpType
impl From<InterpolationType> for ndspInterpType
source§fn from(v: InterpolationType) -> Self
fn from(v: InterpolationType) -> Self
Converts to this type from the input type.
source§impl PartialEq for InterpolationType
impl PartialEq for InterpolationType
source§fn eq(&self, other: &InterpolationType) -> bool
fn eq(&self, other: &InterpolationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InterpolationType
impl Eq for InterpolationType
impl StructuralPartialEq for InterpolationType
Auto Trait Implementations§
impl RefUnwindSafe for InterpolationType
impl Send for InterpolationType
impl Sync for InterpolationType
impl Unpin for InterpolationType
impl UnwindSafe for InterpolationType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more