Struct usb2::Endpoint[][src]

pub struct Endpoint {
    pub direction: Direction,
    pub number: u8,
}

Endpoint address

Fields

direction: Direction

Endpoint direction

number: u8

Endpoint number

Trait Implementations

impl Clone for Endpoint[src]

impl Copy for Endpoint[src]

impl Debug for Endpoint[src]

impl PartialEq<Endpoint> for Endpoint[src]

impl StructuralPartialEq for Endpoint[src]

Auto Trait Implementations

impl Send for Endpoint

impl Sync for Endpoint

impl Unpin for Endpoint

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.