Struct goxlr_profile_loader::components::pitch::PitchEncoder
source · [−]pub struct PitchEncoder { /* private fields */ }
Implementations
sourceimpl PitchEncoder
impl PitchEncoder
pub fn new() -> Self
pub fn knob_position(&self) -> i8
pub fn set_knob_position(&mut self, knob_position: i8)
pub fn style(&self) -> &PitchStyle
pub fn range(&self) -> u8
pub fn threshold(&self) -> i8
pub fn inst_ratio(&self) -> Option<u8>
pub fn inst_ratio_value(&self) -> u8
Trait Implementations
sourceimpl Debug for PitchEncoder
impl Debug for PitchEncoder
sourceimpl Default for PitchEncoder
impl Default for PitchEncoder
sourcefn default() -> PitchEncoder
fn default() -> PitchEncoder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PitchEncoder
impl Send for PitchEncoder
impl Sync for PitchEncoder
impl Unpin for PitchEncoder
impl UnwindSafe for PitchEncoder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more