Enum usb_host::descriptor::DescriptorType
source · [−]pub enum DescriptorType {
Device,
Configuration,
String,
Interface,
Endpoint,
DeviceQualifier,
OtherSpeed,
InterfacePower,
}
Variants
Device
Configuration
String
Interface
Endpoint
DeviceQualifier
OtherSpeed
InterfacePower
Trait Implementations
sourceimpl Clone for DescriptorType
impl Clone for DescriptorType
sourcefn clone(&self) -> DescriptorType
fn clone(&self) -> DescriptorType
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 DescriptorType
impl Debug for DescriptorType
sourceimpl PartialEq<DescriptorType> for DescriptorType
impl PartialEq<DescriptorType> for DescriptorType
sourcefn eq(&self, other: &DescriptorType) -> bool
fn eq(&self, other: &DescriptorType) -> bool
sourceimpl TryFrom<u8> for DescriptorType
impl TryFrom<u8> for DescriptorType
impl Copy for DescriptorType
impl StructuralPartialEq for DescriptorType
Auto Trait Implementations
impl RefUnwindSafe for DescriptorType
impl Send for DescriptorType
impl Sync for DescriptorType
impl Unpin for DescriptorType
impl UnwindSafe for DescriptorType
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