Struct synfx_dsp::CtrlPitchQuantizer
source · [−]pub struct CtrlPitchQuantizer { /* private fields */ }
Implementations
sourceimpl CtrlPitchQuantizer
impl CtrlPitchQuantizer
pub fn new() -> Self
pub fn last_key_pitch(&self) -> f32
pub fn update_keys(&mut self, mask: i64, min_oct: i64, max_oct: i64)
pub fn signal_to_pitch(&mut self, inp: f32) -> f32
Trait Implementations
sourceimpl Clone for CtrlPitchQuantizer
impl Clone for CtrlPitchQuantizer
sourcefn clone(&self) -> CtrlPitchQuantizer
fn clone(&self) -> CtrlPitchQuantizer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for CtrlPitchQuantizer
impl Send for CtrlPitchQuantizer
impl Sync for CtrlPitchQuantizer
impl Unpin for CtrlPitchQuantizer
impl UnwindSafe for CtrlPitchQuantizer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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