[][src]Enum pwm_pca9685::Channel

pub enum Channel {
    C0,
    C1,
    C2,
    C3,
    C4,
    C5,
    C6,
    C7,
    C8,
    C9,
    C10,
    C11,
    C12,
    C13,
    C14,
    C15,
    All,
}

Output channel selection

Variants

C0

Channel 0

C1

Channel 1

C2

Channel 2

C3

Channel 3

C4

Channel 4

C5

Channel 5

C6

Channel 6

C7

Channel 7

C8

Channel 8

C9

Channel 9

C10

Channel 10

C11

Channel 11

C12

Channel 12

C13

Channel 13

C14

Channel 14

C15

Channel 15

All

All channels

Trait Implementations

impl Debug for Channel[src]

impl PartialEq<Channel> for Channel[src]

impl TryFrom<u8> for Channel[src]

type Error = ()

The type returned in the event of a conversion error.

fn try_from(value: u8) -> Result<Self, Self::Error>[src]

Will return an empty error for a value outside the range [0-15].

impl TryFrom<u16> for Channel[src]

type Error = ()

The type returned in the event of a conversion error.

fn try_from(value: u16) -> Result<Self, Self::Error>[src]

Will return an empty error for a value outside the range [0-15].

impl TryFrom<usize> for Channel[src]

type Error = ()

The type returned in the event of a conversion error.

fn try_from(value: usize) -> Result<Self, Self::Error>[src]

Will return an empty error for a value outside the range [0-15].

impl Copy for Channel[src]

impl StructuralPartialEq for Channel[src]

impl Clone for Channel[src]

Auto Trait Implementations

impl Unpin for Channel

impl Send for Channel

impl Sync for Channel

impl UnwindSafe for Channel

impl RefUnwindSafe for Channel

Blanket Implementations

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

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

type Error = !

The type returned in the event of a conversion error.

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

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.

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.