pub struct InterfaceDescriptor {
pub interface_number: u8,
pub alternate_setting: u8,
pub num_endpoints: u8,
pub interface_class: u8,
pub interface_subclass: u8,
pub interface_protocol: u8,
pub string_index: u8,
}
Fields§
§interface_number: u8
§alternate_setting: u8
§num_endpoints: u8
§interface_class: u8
§interface_subclass: u8
§interface_protocol: u8
§string_index: u8
Trait Implementations§
Source§impl Default for InterfaceDescriptor
impl Default for InterfaceDescriptor
Source§impl Descriptor for InterfaceDescriptor
impl Descriptor for InterfaceDescriptor
Auto Trait Implementations§
impl Freeze for InterfaceDescriptor
impl RefUnwindSafe for InterfaceDescriptor
impl Send for InterfaceDescriptor
impl Sync for InterfaceDescriptor
impl Unpin for InterfaceDescriptor
impl UnwindSafe for InterfaceDescriptor
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