pub struct ConfigurationDescriptor {
pub num_interfaces: u8,
pub configuration_value: u8,
pub string_index: u8,
pub attributes: ConfigurationAttributes,
pub max_power: u8,
pub related_descriptor_length: usize,
}
Fields§
§num_interfaces: u8
§configuration_value: u8
§string_index: u8
§attributes: ConfigurationAttributes
§max_power: u8
Trait Implementations§
Source§impl Default for ConfigurationDescriptor
impl Default for ConfigurationDescriptor
Source§impl Descriptor for ConfigurationDescriptor
impl Descriptor for ConfigurationDescriptor
Auto Trait Implementations§
impl Freeze for ConfigurationDescriptor
impl RefUnwindSafe for ConfigurationDescriptor
impl Send for ConfigurationDescriptor
impl Sync for ConfigurationDescriptor
impl Unpin for ConfigurationDescriptor
impl UnwindSafe for ConfigurationDescriptor
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