Struct rytm_rs::RytmProjectWorkBuffer
source · pub struct RytmProjectWorkBuffer { /* private fields */ }
Expand description
RytmProjectWorkBuffer
represents the state of the analog rytm work buffer.
It contains all structures scoped to an Analog Rytm MKII FW 1.70 project work buffer.
Implementations§
source§impl RytmProjectWorkBuffer
impl RytmProjectWorkBuffer
sourcepub const fn sounds(&self) -> &[Sound]
pub const fn sounds(&self) -> &[Sound]
Get the sounds in the work buffer.
Total of 12 sounds for 12 tracks.
sourcepub fn pattern_mut(&mut self) -> &mut Pattern
pub fn pattern_mut(&mut self) -> &mut Pattern
Get the pattern in the work buffer mutably.
sourcepub fn sounds_mut(&mut self) -> &mut [Sound]
pub fn sounds_mut(&mut self) -> &mut [Sound]
Get the sounds in the work buffer mutably.
Total of 12 sounds for 12 tracks.
sourcepub fn global_mut(&mut self) -> &mut Global
pub fn global_mut(&mut self) -> &mut Global
Get the global in the work buffer mutably.
Trait Implementations§
source§impl Clone for RytmProjectWorkBuffer
impl Clone for RytmProjectWorkBuffer
source§fn clone(&self) -> RytmProjectWorkBuffer
fn clone(&self) -> RytmProjectWorkBuffer
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 RytmProjectWorkBuffer
impl Debug for RytmProjectWorkBuffer
source§impl Default for RytmProjectWorkBuffer
impl Default for RytmProjectWorkBuffer
source§impl<'de> Deserialize<'de> for RytmProjectWorkBuffer
impl<'de> Deserialize<'de> for RytmProjectWorkBuffer
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 RytmProjectWorkBuffer
impl Send for RytmProjectWorkBuffer
impl Sync for RytmProjectWorkBuffer
impl Unpin for RytmProjectWorkBuffer
impl UnwindSafe for RytmProjectWorkBuffer
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