#[repr(C, packed(1))]pub struct usb_string_descriptor {
pub bLength: __u8,
pub bDescriptorType: __u8,
pub wData: [__le16; 1],
}
Fields§
§bLength: __u8
§bDescriptorType: __u8
§wData: [__le16; 1]
Trait Implementations§
Source§impl Clone for usb_string_descriptor
impl Clone for usb_string_descriptor
Source§fn clone(&self) -> usb_string_descriptor
fn clone(&self) -> usb_string_descriptor
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 Debug for usb_string_descriptor
impl Debug for usb_string_descriptor
impl Copy for usb_string_descriptor
Auto Trait Implementations§
impl Freeze for usb_string_descriptor
impl RefUnwindSafe for usb_string_descriptor
impl Send for usb_string_descriptor
impl Sync for usb_string_descriptor
impl Unpin for usb_string_descriptor
impl UnwindSafe for usb_string_descriptor
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