pub struct Cp210xInfo {
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 CP210x 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§
Source§impl Clone for Cp210xInfo
impl Clone for Cp210xInfo
Source§fn clone(&self) -> Cp210xInfo
fn clone(&self) -> Cp210xInfo
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 Cp210xInfo
impl Debug for Cp210xInfo
Source§impl Format for Cp210xInfo
impl Format for Cp210xInfo
impl Copy for Cp210xInfo
Auto Trait Implementations§
impl Freeze for Cp210xInfo
impl RefUnwindSafe for Cp210xInfo
impl Send for Cp210xInfo
impl Sync for Cp210xInfo
impl Unpin for Cp210xInfo
impl UnwindSafe for Cp210xInfo
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