Enum libusb::Recipient [−][src]
pub enum Recipient { Device, Interface, Endpoint, Other, }
Recipients of control transfers.
Variants
Device
The recipient is a device.
Interface
The recipient is an interface.
Endpoint
The recipient is an endpoint.
Other
Other.
Trait Implementations
impl Debug for Recipient
[src]
impl Debug for Recipient
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 Recipient
[src]
impl PartialEq for Recipient
fn eq(&self, other: &Recipient) -> bool
[src]
fn eq(&self, other: &Recipient) -> 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 Recipient
[src]
impl Eq for Recipient
impl Clone for Recipient
[src]
impl Clone for Recipient
fn clone(&self) -> Recipient
[src]
fn clone(&self) -> Recipient
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 Recipient
[src]
impl Copy for Recipient
impl Hash for Recipient
[src]
impl Hash for Recipient