pub struct Ch34xInfo {
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 CH34x interface.
Fields§
§interface: u8USB interface number.
bulk_in_ep: u8Bulk IN endpoint address.
bulk_in_mps: u16Bulk IN max packet size.
bulk_out_ep: u8Bulk OUT endpoint address.
bulk_out_mps: u16Bulk OUT max packet size.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Ch34xInfo
impl Freeze for Ch34xInfo
impl Move for Ch34xInfo
impl RefUnwindSafe for Ch34xInfo
impl Send for Ch34xInfo
impl Sync for Ch34xInfo
impl Unpin for Ch34xInfo
impl UnsafeUnpin for Ch34xInfo
impl UnwindSafe for Ch34xInfo
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