pub struct U3vInterfaceInfo {
pub control_iface: u8,
pub control_ep_in: u8,
pub control_ep_out: u8,
pub stream_iface: Option<u8>,
pub stream_ep_in: Option<u8>,
pub event_iface: Option<u8>,
pub event_ep_in: Option<u8>,
}Expand description
Information about a USB3 Vision device’s interfaces and endpoints, extracted from USB descriptors.
Fields§
§control_iface: u8Interface number for the control channel.
control_ep_in: u8Bulk IN endpoint for control acks.
control_ep_out: u8Bulk OUT endpoint for control commands.
stream_iface: Option<u8>Interface number for the streaming channel (if present).
stream_ep_in: Option<u8>Bulk IN endpoint for stream data (if present).
event_iface: Option<u8>Interface number for the event channel (if present).
event_ep_in: Option<u8>Bulk IN endpoint for events (if present).
Trait Implementations§
Source§impl Clone for U3vInterfaceInfo
impl Clone for U3vInterfaceInfo
Source§fn clone(&self) -> U3vInterfaceInfo
fn clone(&self) -> U3vInterfaceInfo
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 moreAuto Trait Implementations§
impl Freeze for U3vInterfaceInfo
impl RefUnwindSafe for U3vInterfaceInfo
impl Send for U3vInterfaceInfo
impl Sync for U3vInterfaceInfo
impl Unpin for U3vInterfaceInfo
impl UnsafeUnpin for U3vInterfaceInfo
impl UnwindSafe for U3vInterfaceInfo
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