pub struct MidiInputConfig {
pub name: String,
}Expand description
Configuration for a MIDI input port connection.
The name field is matched case-insensitively as a substring
against the system’s available MIDI input port names.
Fields§
§name: StringHuman-readable name (or substring) used to match an available port.
Trait Implementations§
Source§impl Clone for MidiInputConfig
impl Clone for MidiInputConfig
Source§fn clone(&self) -> MidiInputConfig
fn clone(&self) -> MidiInputConfig
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 moreAuto Trait Implementations§
impl Freeze for MidiInputConfig
impl RefUnwindSafe for MidiInputConfig
impl Send for MidiInputConfig
impl Sync for MidiInputConfig
impl Unpin for MidiInputConfig
impl UnsafeUnpin for MidiInputConfig
impl UnwindSafe for MidiInputConfig
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