pub trait ObjectQuery: SysexCompatible {
    // 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§

source

fn sysex_type(&self) -> AnySysexType

Returns the sysex type of the object.

source

fn device_id(&self) -> u8

Returns the device id of the object.

source

fn obj_nr(&self) -> u16

Returns the object number (index) of the object.

Provided Methods§

source

fn as_sysex_meta(&self) -> SysexMeta

Returns the sysex meta data for the object creating it.

source

fn is_targeting_work_buffer(&self) -> bool

Returns the information if this query is targeting the work buffer.

Implementors§