Struct ittech::Channel[][src]

pub struct Channel(_);

Channel number

Implementations

impl Channel[src]

pub fn new(number: u8) -> Channel[src]

Create a channel identifier with the given number

Accepted range is 1..=64

pub fn as_usize(self) -> usize[src]

Returns 0 based channel index (0..=63), as opposed to channel number (1..=64)

Trait Implementations

impl Clone for Channel[src]

impl Copy for Channel[src]

impl Debug for Channel[src]

impl Eq for Channel[src]

impl FromIterator<Channel> for ActiveChannels[src]

impl Get<Channel> for Row[src]

type Output = Command

impl Index<&'_ Channel> for Row[src]

type Output = <Row as Get<Channel>>::Output

The returned type after indexing.

impl Index<Channel> for Row[src]

type Output = <Row as Get<Channel>>::Output

The returned type after indexing.

impl Ord for Channel[src]

impl PartialEq<Channel> for Channel[src]

impl PartialOrd<Channel> for Channel[src]

impl StructuralEq for Channel[src]

impl StructuralPartialEq for Channel[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.