pub struct MscInfo {
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 the MSC interface.
Fields§
§interface: u8USB interface number.
bulk_in_ep: u8Bulk IN endpoint address (with direction bit).
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§
impl Copy for MscInfo
Auto Trait Implementations§
impl Freeze for MscInfo
impl RefUnwindSafe for MscInfo
impl Send for MscInfo
impl Sync for MscInfo
impl Unpin for MscInfo
impl UnwindSafe for MscInfo
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