#[repr(C, packed(1))]pub struct EndpointDescriptor {
pub b_length: u8,
pub b_descriptor_type: DescriptorType,
pub b_endpoint_address: u8,
pub bm_attributes: u8,
pub w_max_packet_size: u16,
pub b_interval: u8,
}Fields§
§b_length: u8§b_descriptor_type: DescriptorType§b_endpoint_address: u8§bm_attributes: u8§w_max_packet_size: u16§b_interval: u8Trait Implementations§
Source§impl Clone for EndpointDescriptor
impl Clone for EndpointDescriptor
Source§fn clone(&self) -> EndpointDescriptor
fn clone(&self) -> EndpointDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EndpointDescriptor
impl Debug for EndpointDescriptor
Source§impl PartialEq for EndpointDescriptor
impl PartialEq for EndpointDescriptor
Source§fn eq(&self, other: &EndpointDescriptor) -> bool
fn eq(&self, other: &EndpointDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EndpointDescriptor
impl StructuralPartialEq for EndpointDescriptor
Auto Trait Implementations§
impl Freeze for EndpointDescriptor
impl RefUnwindSafe for EndpointDescriptor
impl Send for EndpointDescriptor
impl Sync for EndpointDescriptor
impl Unpin for EndpointDescriptor
impl UnsafeUnpin for EndpointDescriptor
impl UnwindSafe for EndpointDescriptor
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