pub trait ObjectQuery:
SysexCompatible
+ Send
+ Sync {
// Required methods
fn sysex_type(&self) -> AnySysexType;
fn device_id(&self) -> u8;
fn obj_nr(&self) -> u16;
// Provided methods
fn as_sysex_meta(&self) -> SysexMeta { ... }
fn is_targeting_work_buffer(&self) -> bool { ... }
}
Expand description
A trait which is implemented by all structures which can be converted to rytm sysex query messages.
Required Methods§
Sourcefn sysex_type(&self) -> AnySysexType
fn sysex_type(&self) -> AnySysexType
Returns the sysex type of the object.
Provided Methods§
Sourcefn as_sysex_meta(&self) -> SysexMeta
fn as_sysex_meta(&self) -> SysexMeta
Returns the sysex meta data for the object creating it.
Sourcefn is_targeting_work_buffer(&self) -> bool
fn is_targeting_work_buffer(&self) -> bool
Returns the information if this query is targeting the work buffer.