Enum usb_util::EndpointDirection
source · pub enum EndpointDirection {
HostToDevice = 0,
DeviceToHost = 1,
}
Expand description
Endpoint Directions.
Variants§
Trait Implementations§
source§impl Clone for EndpointDirection
impl Clone for EndpointDirection
source§fn clone(&self) -> EndpointDirection
fn clone(&self) -> EndpointDirection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for EndpointDirection
impl PartialEq for EndpointDirection
source§fn eq(&self, other: &EndpointDirection) -> bool
fn eq(&self, other: &EndpointDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EndpointDirection
impl Eq for EndpointDirection
impl StructuralPartialEq for EndpointDirection
Auto Trait Implementations§
impl RefUnwindSafe for EndpointDirection
impl Send for EndpointDirection
impl Sync for EndpointDirection
impl Unpin for EndpointDirection
impl UnwindSafe for EndpointDirection
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more