pub fn channel(&self) -> Option<u32> {
        match self {
            &MidiChannel::Valid { n } => Some(n + 1),
            _ => None,
        }
    }
/// Gets the midi channel number if this is a valid channel
///
/// Note that the MIDI Channel Number is one more than the raw channel number.
Gets the midi channel number if this is a valid channel
Note that the MIDI Channel Number is one more than the raw channel number.
Gets the midi channel number if this is a valid channel Note that the MIDI Channel Number is one more than the raw channel number .
pub fn channel(&self) -> Option<u32> {
        match self {
            &MidiChannel::Valid { n } => Some(n + 1),
            _ => None,
        }
    }
pub fn channel ( & self ) -> Option < u32 > { match self { & MidiChannel :: Valid { n } => Some ( n + 1 ) , _ => None , } }
Gets the midi channel number if this is a valid channel
Note that the MIDI Channel Number is one more than the raw channel number.
Gets the midi channel number if this is a valid channel Note that the MIDI Channel Number is one more than the raw channel number .
&self