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