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