#[repr(C, packed(1))]pub struct StringDescriptor {
pub bLength: c_uchar,
pub bDescriptorType: c_uchar,
pub bString: [c_short; 32],
}Expand description
USB string descriptor
Fields§
§bLength: c_uchar§bDescriptorType: c_uchar§bString: [c_short; 32]Trait Implementations§
Source§impl Clone for StringDescriptor
impl Clone for StringDescriptor
Source§impl Debug for StringDescriptor
impl Debug for StringDescriptor
impl Copy for StringDescriptor
Auto Trait Implementations§
impl Freeze for StringDescriptor
impl RefUnwindSafe for StringDescriptor
impl Send for StringDescriptor
impl Sync for StringDescriptor
impl Unpin for StringDescriptor
impl UnsafeUnpin for StringDescriptor
impl UnwindSafe for StringDescriptor
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