#[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: UCHARTrait 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 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_ENDPOINT_DESCRIPTOR
impl Debug for _USB_ENDPOINT_DESCRIPTOR
Source§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