Trait rytm_rs::prelude::SysexCompatible
source · pub trait SysexCompatible {
// Required methods
fn sysex_type(&self) -> AnySysexType;
fn as_sysex(&self) -> Result<Vec<u8>, RytmError>;
}
Expand description
A trait which is implemented by all objects which can be converted to sysex messages including queries and rytm project structures.
Required Methods§
sourcefn sysex_type(&self) -> AnySysexType
fn sysex_type(&self) -> AnySysexType
Returns the sysex type of the object.