pub struct EndpointInfo {
pub address: EndpointAddress,
pub transfer_type: EndpointType,
pub direction: Direction,
pub max_packet_size: u16,
pub packets_per_microframe: usize,
pub interval: u8,
}Fields§
§address: EndpointAddress§transfer_type: EndpointType§direction: Direction§max_packet_size: u16§packets_per_microframe: usize§interval: u8Implementations§
Source§impl EndpointInfo
impl EndpointInfo
Trait Implementations§
Source§impl Clone for EndpointInfo
impl Clone for EndpointInfo
Source§fn clone(&self) -> EndpointInfo
fn clone(&self) -> EndpointInfo
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 moreimpl Copy for EndpointInfo
Source§impl Debug for EndpointInfo
impl Debug for EndpointInfo
impl Eq for EndpointInfo
Source§impl From<&EndpointDescriptor> for EndpointInfo
impl From<&EndpointDescriptor> for EndpointInfo
Source§fn from(desc: &EndpointDescriptor) -> Self
fn from(desc: &EndpointDescriptor) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EndpointInfo
impl PartialEq for EndpointInfo
Source§fn eq(&self, other: &EndpointInfo) -> bool
fn eq(&self, other: &EndpointInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EndpointInfo
Auto Trait Implementations§
impl Freeze for EndpointInfo
impl RefUnwindSafe for EndpointInfo
impl Send for EndpointInfo
impl Sync for EndpointInfo
impl Unpin for EndpointInfo
impl UnsafeUnpin for EndpointInfo
impl UnwindSafe for EndpointInfo
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