pub trait HoldsTrigFlags {
Show 39 methods // Required methods fn raw_trig_flags(&self) -> u16; fn raw_trig_flags_mut(&mut self) -> &mut u16; // Provided methods fn set_trig_enable(&mut self, enable: bool) { ... } fn set_retrig(&mut self, enable: bool) { ... } fn set_mute(&mut self, enable: bool) { ... } fn set_accent(&mut self, enable: bool) { ... } fn set_swing(&mut self, enable: bool) { ... } fn set_slide(&mut self, enable: bool) { ... } fn set_parameter_lock_lfo_switch(&mut self, enable: bool) { ... } fn set_parameter_lock_lfo(&mut self, enable: bool) { ... } fn set_parameter_lock_synth_switch(&mut self, enable: bool) { ... } fn set_parameter_lock_synth(&mut self, enable: bool) { ... } fn set_parameter_lock_sample_switch(&mut self, enable: bool) { ... } fn set_parameter_lock_sample(&mut self, enable: bool) { ... } fn set_parameter_lock_env_switch(&mut self, enable: bool) { ... } fn set_parameter_lock_env(&mut self, enable: bool) { ... } fn enabled_trig(&self) -> bool { ... } fn enabled_retrig(&self) -> bool { ... } fn enabled_mute(&self) -> bool { ... } fn enabled_accent(&self) -> bool { ... } fn enabled_swing(&self) -> bool { ... } fn enabled_slide(&self) -> bool { ... } fn enabled_parameter_lock_lfo_switch(&self) -> bool { ... } fn enabled_parameter_lock_lfo(&self) -> bool { ... } fn enabled_parameter_lock_synth_switch(&self) -> bool { ... } fn enabled_parameter_lock_synth(&self) -> bool { ... } fn enabled_parameter_lock_sample_switch(&self) -> bool { ... } fn enabled_parameter_lock_sample(&self) -> bool { ... } fn enabled_parameter_lock_env_switch(&self) -> bool { ... } fn enabled_parameter_lock_env(&self) -> bool { ... } fn swap_all_flags(&mut self, flags: &impl HoldsTrigFlags) { ... } fn unset_all_flags(&mut self) { ... } fn flip_all_flags(&mut self, flags: &impl HoldsTrigFlags) { ... } fn set_difference_from(&mut self, other: &impl HoldsTrigFlags) { ... } fn set_intersection_with(&mut self, other: &impl HoldsTrigFlags) { ... } fn set_union_with(&mut self, other: &impl HoldsTrigFlags) { ... } fn get_difference_from(&self, other: &impl HoldsTrigFlags) -> u16 { ... } fn get_intersection_with(&self, other: &impl HoldsTrigFlags) -> u16 { ... } fn get_union_with(&self, other: &impl HoldsTrigFlags) -> u16 { ... }
}

Required Methods§

source

fn raw_trig_flags(&self) -> u16

Returns the raw flags value.

source

fn raw_trig_flags_mut(&mut self) -> &mut u16

Returns a mutable reference to the raw flags value.

Provided Methods§

source

fn set_trig_enable(&mut self, enable: bool)

Enables or disables a trig.

source

fn set_retrig(&mut self, enable: bool)

Enables or disables a trig’s retrig option.

source

fn set_mute(&mut self, enable: bool)

Enables or disables a trig’s mute option.

source

fn set_accent(&mut self, enable: bool)

Enables or disables a trig’s accent option.

source

fn set_swing(&mut self, enable: bool)

Enables or disables a trig’s swing option.

source

fn set_slide(&mut self, enable: bool)

Enables or disables a trig’s slide option.

source

fn set_parameter_lock_lfo_switch(&mut self, enable: bool)

source

fn set_parameter_lock_lfo(&mut self, enable: bool)

source

fn set_parameter_lock_synth_switch(&mut self, enable: bool)

source

fn set_parameter_lock_synth(&mut self, enable: bool)

source

fn set_parameter_lock_sample_switch(&mut self, enable: bool)

source

fn set_parameter_lock_sample(&mut self, enable: bool)

source

fn set_parameter_lock_env_switch(&mut self, enable: bool)

source

fn set_parameter_lock_env(&mut self, enable: bool)

source

fn enabled_trig(&self) -> bool

Returns true if the trig is enabled.

source

fn enabled_retrig(&self) -> bool

Returns true if the trig’s retrig option is enabled.

source

fn enabled_mute(&self) -> bool

Returns true if the trig’s mute option is enabled.

source

fn enabled_accent(&self) -> bool

Returns true if the trig’s accent option is enabled.

source

fn enabled_swing(&self) -> bool

Returns true if the trig’s swing option is enabled.

source

fn enabled_slide(&self) -> bool

Returns true if the trig’s slide option is enabled.

source

fn enabled_parameter_lock_lfo_switch(&self) -> bool

source

fn enabled_parameter_lock_lfo(&self) -> bool

source

fn enabled_parameter_lock_synth_switch(&self) -> bool

source

fn enabled_parameter_lock_synth(&self) -> bool

source

fn enabled_parameter_lock_sample_switch(&self) -> bool

source

fn enabled_parameter_lock_sample(&self) -> bool

source

fn enabled_parameter_lock_env_switch(&self) -> bool

source

fn enabled_parameter_lock_env(&self) -> bool

source

fn swap_all_flags(&mut self, flags: &impl HoldsTrigFlags)

Sets all flags to the given value.

source

fn unset_all_flags(&mut self)

Sets all flags to 0.

source

fn flip_all_flags(&mut self, flags: &impl HoldsTrigFlags)

Flips all flags.

source

fn set_difference_from(&mut self, other: &impl HoldsTrigFlags)

Sets the current flags to the intersection between the current flags and the given flags.

source

fn set_intersection_with(&mut self, other: &impl HoldsTrigFlags)

Sets the current flags to the union between the current flags and the given flags.

source

fn set_union_with(&mut self, other: &impl HoldsTrigFlags)

Sets the current flags to the union between the current flags and the given flags.

source

fn get_difference_from(&self, other: &impl HoldsTrigFlags) -> u16

Returns the difference between the current flags and the given flags.

source

fn get_intersection_with(&self, other: &impl HoldsTrigFlags) -> u16

Returns the intersection between the current flags and the given flags.

source

fn get_union_with(&self, other: &impl HoldsTrigFlags) -> u16

Returns the union between the current flags and the given flags.

Object Safety§

This trait is not object safe.

Implementors§