pub struct CdcAcmInfo {
pub comm_interface: u8,
pub data_interface: u8,
pub bulk_in_ep: u8,
pub bulk_in_mps: u16,
pub bulk_out_ep: u8,
pub bulk_out_mps: u16,
}Expand description
Information about a CDC ACM interface found in a configuration descriptor.
Fields§
§comm_interface: u8CDC communication interface number.
data_interface: u8CDC data 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 CdcAcmInfo
impl Clone for CdcAcmInfo
Source§fn clone(&self) -> CdcAcmInfo
fn clone(&self) -> CdcAcmInfo
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 CdcAcmInfo
impl Debug for CdcAcmInfo
Auto Trait Implementations§
impl Freeze for CdcAcmInfo
impl RefUnwindSafe for CdcAcmInfo
impl Send for CdcAcmInfo
impl Sync for CdcAcmInfo
impl Unpin for CdcAcmInfo
impl UnwindSafe for CdcAcmInfo
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