pub struct CyMetallicParameters { /* private fields */ }
Expand description
Parameters for the CyMetallic
machine.
Implementations§
source§impl CyMetallicParameters
impl CyMetallicParameters
sourcepub fn set_lev(&mut self, lev: usize) -> Result<(), RytmError>
pub fn set_lev(&mut self, lev: usize) -> Result<(), RytmError>
Sets the lev
parameter.
Range: 0..=127
sourcepub fn plock_set_lev(
&self,
lev: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_lev( &self, lev: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the lev
parameter.
Range: 0..=127
source§impl CyMetallicParameters
impl CyMetallicParameters
sourcepub fn set_tun(&mut self, tun: isize) -> Result<(), RytmError>
pub fn set_tun(&mut self, tun: isize) -> Result<(), RytmError>
Sets the tun
parameter.
Range: -64..=63
sourcepub fn plock_set_tun(
&self,
tun: isize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_tun( &self, tun: isize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the tun
parameter.
Range: -64..=63
source§impl CyMetallicParameters
impl CyMetallicParameters
sourcepub fn set_dec(&mut self, dec: usize) -> Result<(), RytmError>
pub fn set_dec(&mut self, dec: usize) -> Result<(), RytmError>
Sets the dec
parameter.
Range: 0..=127
sourcepub fn plock_set_dec(
&self,
dec: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_dec( &self, dec: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the dec
parameter.
Range: 0..=127
source§impl CyMetallicParameters
impl CyMetallicParameters
sourcepub fn set_ton(&mut self, ton: isize) -> Result<(), RytmError>
pub fn set_ton(&mut self, ton: isize) -> Result<(), RytmError>
Sets the ton
parameter.
Range: -64..=63
sourcepub fn plock_set_ton(
&self,
ton: isize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_ton( &self, ton: isize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the ton
parameter.
Range: -64..=63
source§impl CyMetallicParameters
impl CyMetallicParameters
sourcepub fn set_trd(&mut self, trd: usize) -> Result<(), RytmError>
pub fn set_trd(&mut self, trd: usize) -> Result<(), RytmError>
Sets the trd
parameter.
Range: 0..=127
sourcepub fn plock_set_trd(
&self,
trd: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_trd( &self, trd: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the trd
parameter.
Range: 0..=127
Trait Implementations§
source§impl Clone for CyMetallicParameters
impl Clone for CyMetallicParameters
source§fn clone(&self) -> CyMetallicParameters
fn clone(&self) -> CyMetallicParameters
Returns a copy of the value. Read more
1.0.0 · 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 CyMetallicParameters
impl Debug for CyMetallicParameters
source§impl Default for CyMetallicParameters
impl Default for CyMetallicParameters
source§impl<'de> Deserialize<'de> for CyMetallicParameters
impl<'de> Deserialize<'de> for CyMetallicParameters
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
Auto Trait Implementations§
impl RefUnwindSafe for CyMetallicParameters
impl Send for CyMetallicParameters
impl Sync for CyMetallicParameters
impl Unpin for CyMetallicParameters
impl UnwindSafe for CyMetallicParameters
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