#[repr(C, packed(1))]pub struct USB_ENDPOINT_DESCRIPTOR {
pub bLength: UCHAR,
pub bDescriptorType: UCHAR,
pub bEndpointAddress: UCHAR,
pub bmAttributes: UCHAR,
pub wMaxPacketSize: USHORT,
pub bInterval: UCHAR,
}
Fields§
§bLength: UCHAR
§bDescriptorType: UCHAR
§bEndpointAddress: UCHAR
§bmAttributes: UCHAR
§wMaxPacketSize: USHORT
§bInterval: UCHAR
Trait Implementations§
Source§impl Clone for USB_ENDPOINT_DESCRIPTOR
impl Clone for USB_ENDPOINT_DESCRIPTOR
Source§fn clone(&self) -> USB_ENDPOINT_DESCRIPTOR
fn clone(&self) -> USB_ENDPOINT_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 Default for USB_ENDPOINT_DESCRIPTOR
impl Default for USB_ENDPOINT_DESCRIPTOR
Source§fn default() -> USB_ENDPOINT_DESCRIPTOR
fn default() -> USB_ENDPOINT_DESCRIPTOR
Returns the “default value” for a type. Read more
impl Copy for USB_ENDPOINT_DESCRIPTOR
Auto Trait Implementations§
impl Freeze for USB_ENDPOINT_DESCRIPTOR
impl RefUnwindSafe for USB_ENDPOINT_DESCRIPTOR
impl Send for USB_ENDPOINT_DESCRIPTOR
impl Sync for USB_ENDPOINT_DESCRIPTOR
impl Unpin for USB_ENDPOINT_DESCRIPTOR
impl UnwindSafe for USB_ENDPOINT_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