pub struct MidiConfig { /* private fields */ }
Expand description
Represents the Midi Config
menu.
Implementations§
source§impl MidiConfig
impl MidiConfig
sourcepub const fn port_config(&self) -> &PortConfig
pub const fn port_config(&self) -> &PortConfig
Returns the Port Config
menu.
sourcepub fn port_config_mut(&mut self) -> &mut PortConfig
pub fn port_config_mut(&mut self) -> &mut PortConfig
Returns the Port Config
menu as mutable.
sourcepub fn channels_mut(&mut self) -> &mut Channels
pub fn channels_mut(&mut self) -> &mut Channels
Returns the Channels
menu as mutable.
Trait Implementations§
source§impl Clone for MidiConfig
impl Clone for MidiConfig
source§fn clone(&self) -> MidiConfig
fn clone(&self) -> MidiConfig
Returns a copy 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 MidiConfig
impl Debug for MidiConfig
source§impl Default for MidiConfig
impl Default for MidiConfig
source§fn default() -> MidiConfig
fn default() -> MidiConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MidiConfig
impl<'de> Deserialize<'de> for MidiConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for MidiConfig
impl Hash for MidiConfig
source§impl Ord for MidiConfig
impl Ord for MidiConfig
source§fn cmp(&self, other: &MidiConfig) -> Ordering
fn cmp(&self, other: &MidiConfig) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MidiConfig
impl PartialEq for MidiConfig
source§fn eq(&self, other: &MidiConfig) -> bool
fn eq(&self, other: &MidiConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MidiConfig
impl PartialOrd for MidiConfig
source§fn partial_cmp(&self, other: &MidiConfig) -> Option<Ordering>
fn partial_cmp(&self, other: &MidiConfig) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MidiConfig
impl Serialize for MidiConfig
source§impl TryFrom<&ar_global_t> for MidiConfig
impl TryFrom<&ar_global_t> for MidiConfig
§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for MidiConfig
impl Eq for MidiConfig
impl StructuralEq for MidiConfig
impl StructuralPartialEq for MidiConfig
Auto Trait Implementations§
impl RefUnwindSafe for MidiConfig
impl Send for MidiConfig
impl Sync for MidiConfig
impl Unpin for MidiConfig
impl UnwindSafe for MidiConfig
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