pub enum ControlRequestDataPhaseTransferDirection {
HostToDevice = 0,
DeviceToHost = 1,
}
Variants§
Trait Implementations§
source§impl Clone for ControlRequestDataPhaseTransferDirection
impl Clone for ControlRequestDataPhaseTransferDirection
source§fn clone(&self) -> ControlRequestDataPhaseTransferDirection
fn clone(&self) -> ControlRequestDataPhaseTransferDirection
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 ControlRequestDataPhaseTransferDirection
impl PartialEq for ControlRequestDataPhaseTransferDirection
source§fn eq(&self, other: &ControlRequestDataPhaseTransferDirection) -> bool
fn eq(&self, other: &ControlRequestDataPhaseTransferDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ControlRequestDataPhaseTransferDirection
impl Eq for ControlRequestDataPhaseTransferDirection
impl StructuralPartialEq for ControlRequestDataPhaseTransferDirection
Auto Trait Implementations§
impl RefUnwindSafe for ControlRequestDataPhaseTransferDirection
impl Send for ControlRequestDataPhaseTransferDirection
impl Sync for ControlRequestDataPhaseTransferDirection
impl Unpin for ControlRequestDataPhaseTransferDirection
impl UnwindSafe for ControlRequestDataPhaseTransferDirection
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