pub struct FtdiInfo {
pub interface: u8,
pub bulk_in_ep: u8,
pub bulk_in_mps: u16,
pub bulk_out_ep: u8,
pub bulk_out_mps: u16,
}Expand description
Descriptor-located info for a single FTDI interface.
Fields§
§interface: u8USB interface number.
bulk_in_ep: u8Bulk IN endpoint address.
bulk_in_mps: u16Bulk IN maximum packet size.
bulk_out_ep: u8Bulk OUT endpoint address.
bulk_out_mps: u16Bulk OUT maximum packet size.
Trait Implementations§
Auto Trait Implementations§
impl Forget for FtdiInfo
impl Freeze for FtdiInfo
impl Move for FtdiInfo
impl RefUnwindSafe for FtdiInfo
impl Send for FtdiInfo
impl Sync for FtdiInfo
impl Unpin for FtdiInfo
impl UnsafeUnpin for FtdiInfo
impl UnwindSafe for FtdiInfo
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