Enum usb_host::setup::RequestDirection
source · [−]pub enum RequestDirection {
HostToDevice,
DeviceToHost,
}
Variants
HostToDevice
DeviceToHost
Trait Implementations
sourceimpl Clone for RequestDirection
impl Clone for RequestDirection
sourcefn clone(&self) -> RequestDirection
fn clone(&self) -> RequestDirection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RequestDirection
impl Debug for RequestDirection
sourceimpl PartialEq<RequestDirection> for RequestDirection
impl PartialEq<RequestDirection> for RequestDirection
sourcefn eq(&self, other: &RequestDirection) -> bool
fn eq(&self, other: &RequestDirection) -> bool
sourceimpl TryFrom<u8> for RequestDirection
impl TryFrom<u8> for RequestDirection
impl Copy for RequestDirection
impl StructuralPartialEq for RequestDirection
Auto Trait Implementations
impl RefUnwindSafe for RequestDirection
impl Send for RequestDirection
impl Sync for RequestDirection
impl Unpin for RequestDirection
impl UnwindSafe for RequestDirection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more