pub enum SetDescriptor {
Configuration {
index: u8,
},
Device,
String {
index: u8,
lang_id: u16,
},
}
Expand description
SET_DESCRIPTOR descriptor
See section 9.4.8 and table 9-5 of (USB2)
Variants§
Trait Implementations§
Source§impl Clone for SetDescriptor
impl Clone for SetDescriptor
Source§fn clone(&self) -> SetDescriptor
fn clone(&self) -> SetDescriptor
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 moreSource§impl Debug for SetDescriptor
impl Debug for SetDescriptor
Source§impl PartialEq for SetDescriptor
impl PartialEq for SetDescriptor
impl Copy for SetDescriptor
impl StructuralPartialEq for SetDescriptor
Auto Trait Implementations§
impl Freeze for SetDescriptor
impl RefUnwindSafe for SetDescriptor
impl Send for SetDescriptor
impl Sync for SetDescriptor
impl Unpin for SetDescriptor
impl UnwindSafe for SetDescriptor
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