Struct rytm_sys::ar_global_t

source ·
#[repr(C, packed(1))]
pub struct ar_global_t {
Show 45 fields pub version: [sU8; 4], pub click_active: sU8, pub click_time_sig_num: sU8, pub click_time_sig_den: sU8, pub pre_roll: sU8, pub volume: sU8, pub __unknown0x09_0x0A: [sU8; 2], pub auto_channel: sU8, pub track_channels: [sU8; 12], pub track_fx_channel: sU8, pub prog_ch_in_channel: sU8, pub prog_ch_out_channel: sU8, pub perf_channel: sU8, pub out_port_func: sU8, pub thru_port_func: sU8, pub input_from: sU8, pub output_to: sU8, pub param_output: sU8, pub clock_receive: sU8, pub clock_send: sU8, pub transport_receive: sU8, pub transport_send: sU8, pub program_change_receive: sU8, pub program_change_send: sU8, pub receive_notes: sU8, pub receive_cc_nrpn: sU8, pub __unknown0x29: sU8, pub pad_dest: sU8, pub pressure_dest: sU8, pub encoder_dest: sU8, pub mute_dest: sU8, pub ports_output_channel: sU8, pub kit_reload_on_chg: sU8, pub quantize_live_rec: sU8, pub __unknown0x31: sU8, pub route_to_main_msb: sU8, pub route_to_main_lsb: sU8, pub send_to_fx_msb: sU8, pub send_to_fx_lsb: sU8, pub __unknown0x36_0x45: [sU8; 16], pub auto_trk_switch: sU8, pub usb_in: sU8, pub usb_out: sU8, pub usb_to_main_db: sU8, pub __unknown0x50_0x4F: [sU8; 6],
}

Fields§

§version: [sU8; 4]§click_active: sU8§click_time_sig_num: sU8§click_time_sig_den: sU8§pre_roll: sU8§volume: sU8§__unknown0x09_0x0A: [sU8; 2]§auto_channel: sU8§track_channels: [sU8; 12]§track_fx_channel: sU8§prog_ch_in_channel: sU8§prog_ch_out_channel: sU8§perf_channel: sU8§out_port_func: sU8§thru_port_func: sU8§input_from: sU8§output_to: sU8§param_output: sU8§clock_receive: sU8§clock_send: sU8§transport_receive: sU8§transport_send: sU8§program_change_receive: sU8§program_change_send: sU8§receive_notes: sU8§receive_cc_nrpn: sU8§__unknown0x29: sU8§pad_dest: sU8§pressure_dest: sU8§encoder_dest: sU8§mute_dest: sU8§ports_output_channel: sU8§kit_reload_on_chg: sU8§quantize_live_rec: sU8§__unknown0x31: sU8§route_to_main_msb: sU8§route_to_main_lsb: sU8§send_to_fx_msb: sU8§send_to_fx_lsb: sU8§__unknown0x36_0x45: [sU8; 16]§auto_trk_switch: sU8§usb_in: sU8§usb_out: sU8§usb_to_main_db: sU8§__unknown0x50_0x4F: [sU8; 6]

Trait Implementations§

source§

impl Clone for ar_global_t

source§

fn clone(&self) -> ar_global_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ar_global_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ar_global_t

source§

fn default() -> ar_global_t

Returns the “default value” for a type. Read more
source§

impl Copy for ar_global_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.