pub struct FunctionSubset {
pub first_interface: u8,
pub features: &'static [FeatureDescriptor],
}
Expand description
MS OS 2.0 function subset
Only used for composite devices or single-function devices that use Usbccgp.sys as client driver.
Fields§
§first_interface: u8
Interface number for the first interface of the function to which this subset applies
features: &'static [FeatureDescriptor]
Features that apply to to specific USB function (group of interfaces) within a configuration
Implementations§
Auto Trait Implementations§
impl Freeze for FunctionSubset
impl RefUnwindSafe for FunctionSubset
impl Send for FunctionSubset
impl Sync for FunctionSubset
impl Unpin for FunctionSubset
impl UnwindSafe for FunctionSubset
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