Struct capsules_extra::usb::descriptors::InterfaceDescriptor
source · 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