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