pub enum FilterKind {
SvfLp,
SvfBp,
SvfHp,
Ladder,
}Expand description
Filter kind: three SVF responses plus the diode ladder.
Variants§
SvfLp
State-variable lowpass.
SvfBp
State-variable bandpass.
SvfHp
State-variable highpass.
Ladder
Diode ladder lowpass (TB-303 flavor).
Implementations§
Source§impl FilterKind
impl FilterKind
Sourcepub const ALL: [FilterKind; 4]
pub const ALL: [FilterKind; 4]
All kinds, in categorical-site index order.
Sourcepub fn from_index(i: usize) -> Self
pub fn from_index(i: usize) -> Self
From a categorical-site index.
Trait Implementations§
Source§impl Clone for FilterKind
impl Clone for FilterKind
Source§fn clone(&self) -> FilterKind
fn clone(&self) -> FilterKind
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 moreSource§impl Debug for FilterKind
impl Debug for FilterKind
Source§impl<'de> Deserialize<'de> for FilterKind
impl<'de> Deserialize<'de> for FilterKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FilterKind
impl PartialEq for FilterKind
Source§fn eq(&self, other: &FilterKind) -> bool
fn eq(&self, other: &FilterKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FilterKind
impl Serialize for FilterKind
impl Copy for FilterKind
impl Eq for FilterKind
impl StructuralPartialEq for FilterKind
Auto Trait Implementations§
impl Freeze for FilterKind
impl RefUnwindSafe for FilterKind
impl Send for FilterKind
impl Sync for FilterKind
impl Unpin for FilterKind
impl UnsafeUnpin for FilterKind
impl UnwindSafe for FilterKind
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