Enum libusb::Direction [] [src]

pub enum Direction {
    In,
    Out,
}

Transfer and endpoint directions.

Variants

Direction for read (device to host) transfers.

Direction for write (host to device) transfers.

Trait Implementations

impl Debug for Direction
[src]

Formats the value using the given formatter.

impl PartialEq for Direction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Direction
[src]

impl Clone for Direction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Direction
[src]

impl Hash for Direction
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more