Struct CompatibleIdFeatureDescriptor
#[repr(C, packed(1))]pub struct CompatibleIdFeatureDescriptor { /* private fields */ }
Expand description
Table 13. Microsoft OS 2.0 compatible ID descriptor.
Implementations§
§impl CompatibleIdFeatureDescriptor
impl CompatibleIdFeatureDescriptor
pub fn new(
compatible_id: &str,
sub_compatible_id: &str,
) -> CompatibleIdFeatureDescriptor
pub fn new( compatible_id: &str, sub_compatible_id: &str, ) -> CompatibleIdFeatureDescriptor
Creates a compatible ID feature descriptor
The ids must be 8 ASCII bytes or fewer.
Trait Implementations§
impl DeviceLevelDescriptor for CompatibleIdFeatureDescriptor
impl FunctionLevelDescriptor for CompatibleIdFeatureDescriptor
Auto Trait Implementations§
impl Freeze for CompatibleIdFeatureDescriptor
impl RefUnwindSafe for CompatibleIdFeatureDescriptor
impl Send for CompatibleIdFeatureDescriptor
impl Sync for CompatibleIdFeatureDescriptor
impl Unpin for CompatibleIdFeatureDescriptor
impl UnwindSafe for CompatibleIdFeatureDescriptor
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