[][src]Enum usbd_midi::data::midi::channel::Channel

#[repr(u8)]
pub enum Channel {
    Channel1,
    Channel2,
    Channel3,
    Channel4,
    Channel5,
    Channel6,
    Channel7,
    Channel8,
    Channel9,
    Channel10,
    Channel11,
    Channel12,
    Channel13,
    Channel14,
    Channel15,
    Channel16,
}

The Channel is a value ranging from 0x0 to 0xF This is a standard midi concept Note Channel1 = 0 on the wire

Variants

Channel1
Channel2
Channel3
Channel4
Channel5
Channel6
Channel7
Channel8
Channel9
Channel10
Channel11
Channel12
Channel13
Channel14
Channel15
Channel16

Trait Implementations

impl Clone for Channel[src]

impl Copy for Channel[src]

impl Debug for Channel[src]

impl From<Channel> for u8[src]

impl TryFrom<u8> for Channel[src]

type Error = InvalidChannel

The type returned in the event of a conversion error.

Auto Trait Implementations

impl Send for Channel

impl Sync for Channel

impl Unpin for Channel

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.