pub struct BtClassicParameters { /* private fields */ }
Expand description
Parameters for the BtClassic
machine.
Implementations§
source§impl BtClassicParameters
impl BtClassicParameters
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 BtClassicParameters
impl BtClassicParameters
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 BtClassicParameters
impl BtClassicParameters
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 BtClassicParameters
impl BtClassicParameters
sourcepub fn set_nol(&mut self, nol: usize) -> Result<(), RytmError>
pub fn set_nol(&mut self, nol: usize) -> Result<(), RytmError>
Sets the nol
parameter.
Range: 0..=127
sourcepub fn plock_set_nol(
&self,
nol: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_nol( &self, nol: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the nol
parameter.
Range: 0..=127
source§impl BtClassicParameters
impl BtClassicParameters
sourcepub fn set_snp(&mut self, snp: usize) -> Result<(), RytmError>
pub fn set_snp(&mut self, snp: usize) -> Result<(), RytmError>
Sets the snp
parameter.
Range: 0..=3
sourcepub fn plock_set_snp(
&self,
snp: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_snp( &self, snp: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the snp
parameter.
Range: 0..=3
source§impl BtClassicParameters
impl BtClassicParameters
sourcepub fn set_swd(&mut self, swd: usize) -> Result<(), RytmError>
pub fn set_swd(&mut self, swd: usize) -> Result<(), RytmError>
Sets the swd
parameter.
Range: 0..=127
sourcepub fn plock_set_swd(
&self,
swd: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_swd( &self, swd: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the swd
parameter.
Range: 0..=127
Trait Implementations§
source§impl Clone for BtClassicParameters
impl Clone for BtClassicParameters
source§fn clone(&self) -> BtClassicParameters
fn clone(&self) -> BtClassicParameters
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 BtClassicParameters
impl Debug for BtClassicParameters
source§impl Default for BtClassicParameters
impl Default for BtClassicParameters
source§impl<'de> Deserialize<'de> for BtClassicParameters
impl<'de> Deserialize<'de> for BtClassicParameters
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 BtClassicParameters
impl Send for BtClassicParameters
impl Sync for BtClassicParameters
impl Unpin for BtClassicParameters
impl UnwindSafe for BtClassicParameters
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