pub enum USBDescriptor {
Device(Device),
Configuration(Configuration),
Str(Str),
Interface(Interface),
InterfaceAssociation(InterfaceAssociation),
Endpoint(Endpoint),
Hid(Hid),
UVCInterface(UVCInterface),
UVCClassSpecVideoControlInterruptEndpoint(UVCVideoControlInterruptEndpoint),
}Variants§
Device(Device)
Configuration(Configuration)
Str(Str)
Interface(Interface)
InterfaceAssociation(InterfaceAssociation)
Endpoint(Endpoint)
Hid(Hid)
UVCInterface(UVCInterface)
UVCClassSpecVideoControlInterruptEndpoint(UVCVideoControlInterruptEndpoint)
Trait Implementations§
Source§impl Clone for USBDescriptor
impl Clone for USBDescriptor
Source§fn clone(&self) -> USBDescriptor
fn clone(&self) -> USBDescriptor
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for USBDescriptor
impl RefUnwindSafe for USBDescriptor
impl Send for USBDescriptor
impl Sync for USBDescriptor
impl Unpin for USBDescriptor
impl UnwindSafe for USBDescriptor
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