pub struct RawEndpointDesc {
pub endpoint_address: u8,
pub attributes: u8,
pub max_packet_size: u16,
pub interval: u8,
pub audio: Option<AudioEndpointDesc>,
}Expand description
USB endpoint descriptor.
Fields§
§endpoint_address: u8Endpoint address.
attributes: u8Attributes.
max_packet_size: u16Maximum packet size.
interval: u8Interval.
audio: Option<AudioEndpointDesc>Audio-endpoint specific data.
Implementations§
Trait Implementations§
Source§impl Clone for EndpointDesc
impl Clone for EndpointDesc
Source§fn clone(&self) -> EndpointDesc
fn clone(&self) -> EndpointDesc
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 moreAuto Trait Implementations§
impl Freeze for EndpointDesc
impl RefUnwindSafe for EndpointDesc
impl Send for EndpointDesc
impl Sync for EndpointDesc
impl Unpin for EndpointDesc
impl UnsafeUnpin for EndpointDesc
impl UnwindSafe for EndpointDesc
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