pub fn new(value: u8) -> MidiInputDeviceId {
        assert!(
            Self::is_valid(value),
            "MIDI input device IDs must be <= 62, got {}",
            value
        );
        MidiInputDeviceId(value)
    }
/// Creates the MIDI input device ID.
///
/// # Panics
///
/// This function panics if the given value is not a valid ID (must be <= 62).
Creates the MIDI input device ID.
Creates the MIDI input device ID .
pub fn new(value: u8) -> MidiInputDeviceId {
        assert!(
            Self::is_valid(value),
            "MIDI input device IDs must be <= 62, got {}",
            value
        );
        MidiInputDeviceId(value)
    }
pub fn new ( value : u8 ) -> MidiInputDeviceId { assert ! ( Self is_valid ( value ) " " value ) ; MidiInputDeviceId ( value ) }
Creates the MIDI input device ID.
Creates the MIDI input device ID .
value
u8
value
u8
panics
This function panics if the given value is not a valid ID (must be <= 62).
This function panics if the given value is not a valid ID ( must be < = 62 ) .