pub struct Interface {
pub length: u8,
pub kind: u8,
pub interface_number: u8,
pub alternate_setting: u8,
pub num_endpoints: u8,
pub interface_class: u8,
pub interface_sub_class: u8,
pub interface_protocol: u8,
pub iinterface: u8,
pub endpoints: Vec<Endpoint>,
}
Fields§
§length: u8
§kind: u8
§interface_number: u8
§alternate_setting: u8
§num_endpoints: u8
§interface_class: u8
§interface_sub_class: u8
§interface_protocol: u8
§iinterface: u8
§endpoints: Vec<Endpoint>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Interface
impl RefUnwindSafe for Interface
impl Send for Interface
impl Sync for Interface
impl Unpin for Interface
impl UnwindSafe for Interface
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