pub struct MpeInputDeviceSettings {
pub master_channel: i32,
pub member_begin_channel: i32,
pub member_end_channel: i32,
}Expand description
MPE (MIDI Polyphonic Expression) input device settings.
Defines the MPE zone configuration for incoming MIDI.
Fields§
§master_channel: i32Master channel (0 = channel 1, typically 0 for lower zone).
member_begin_channel: i32First member channel (typically 1 for lower zone).
member_end_channel: i32Last member channel (typically 14 for lower zone).
Implementations§
Source§impl MpeInputDeviceSettings
impl MpeInputDeviceSettings
Sourcepub const fn lower_zone() -> Self
pub const fn lower_zone() -> Self
Create MPE settings for the lower zone (default configuration).
Sourcepub const fn upper_zone() -> Self
pub const fn upper_zone() -> Self
Create MPE settings for the upper zone.
Trait Implementations§
Source§impl Clone for MpeInputDeviceSettings
impl Clone for MpeInputDeviceSettings
Source§fn clone(&self) -> MpeInputDeviceSettings
fn clone(&self) -> MpeInputDeviceSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MpeInputDeviceSettings
impl Debug for MpeInputDeviceSettings
Source§impl Default for MpeInputDeviceSettings
impl Default for MpeInputDeviceSettings
Source§impl PartialEq for MpeInputDeviceSettings
impl PartialEq for MpeInputDeviceSettings
impl Copy for MpeInputDeviceSettings
impl Eq for MpeInputDeviceSettings
impl StructuralPartialEq for MpeInputDeviceSettings
Auto Trait Implementations§
impl Freeze for MpeInputDeviceSettings
impl RefUnwindSafe for MpeInputDeviceSettings
impl Send for MpeInputDeviceSettings
impl Sync for MpeInputDeviceSettings
impl Unpin for MpeInputDeviceSettings
impl UnwindSafe for MpeInputDeviceSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more