Enum libusb::Direction [−][src]
pub enum Direction { In, Out, }
Transfer and endpoint directions.
Variants
In
Direction for read (device to host) transfers.
Out
Direction for write (host to device) transfers.
Trait Implementations
impl Debug for Direction
[src]
impl Debug for Direction
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Direction
[src]
impl PartialEq for Direction
fn eq(&self, other: &Direction) -> bool
[src]
fn eq(&self, other: &Direction) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Direction
[src]
impl Eq for Direction
impl Clone for Direction
[src]
impl Clone for Direction
fn clone(&self) -> Direction
[src]
fn clone(&self) -> Direction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Direction
[src]
impl Copy for Direction
impl Hash for Direction
[src]
impl Hash for Direction