pub struct GipInterfaceInfo {
pub interface_number: u8,
pub interrupt_in_ep: u8,
pub interrupt_in_mps: u16,
pub interrupt_in_interval: u8,
pub interrupt_out_ep: u8,
pub interrupt_out_mps: u16,
pub interrupt_out_interval: u8,
}Expand description
Information about a GIP data interface found in a configuration descriptor.
Fields§
§interface_number: u8Interface number.
interrupt_in_ep: u8Interrupt IN endpoint address (raw, with direction bit).
interrupt_in_mps: u16Interrupt IN max packet size.
interrupt_in_interval: u8Interrupt IN polling interval (from endpoint descriptor).
interrupt_out_ep: u8Interrupt OUT endpoint address (raw).
interrupt_out_mps: u16Interrupt OUT max packet size.
interrupt_out_interval: u8Interrupt OUT polling interval (from endpoint descriptor).
Trait Implementations§
Source§impl Clone for GipInterfaceInfo
impl Clone for GipInterfaceInfo
Source§fn clone(&self) -> GipInterfaceInfo
fn clone(&self) -> GipInterfaceInfo
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 moreSource§impl Debug for GipInterfaceInfo
impl Debug for GipInterfaceInfo
Auto Trait Implementations§
impl Freeze for GipInterfaceInfo
impl RefUnwindSafe for GipInterfaceInfo
impl Send for GipInterfaceInfo
impl Sync for GipInterfaceInfo
impl Unpin for GipInterfaceInfo
impl UnwindSafe for GipInterfaceInfo
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