Enum libusb::Direction [−][src]
pub enum Direction {
In,
Out,
}Transfer and endpoint directions.
Variants
InDirection for read (device to host) transfers.
OutDirection for write (host to device) transfers.
Trait Implementations
impl Debug for Direction[src]
impl Debug for Directionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Direction[src]
impl PartialEq for Directionfn eq(&self, other: &Direction) -> bool[src]
fn eq(&self, other: &Direction) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for Direction[src]
impl Eq for Directionimpl Clone for Direction[src]
impl Clone for Directionfn clone(&self) -> Direction[src]
fn clone(&self) -> DirectionReturns 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 Directionimpl Hash for Direction[src]
impl Hash for Direction