pub struct MsOsDescriptorSet<'d> { /* private fields */ }
Expand description
A serialized Microsoft OS 2.0 Descriptor set.
Create with [DeviceDescriptorSetBuilder
].
Implementations§
Source§impl<'d> MsOsDescriptorSet<'d>
impl<'d> MsOsDescriptorSet<'d>
Sourcepub fn descriptor(&self) -> &[u8]
pub fn descriptor(&self) -> &[u8]
Gets the raw bytes of the MS OS descriptor
Sourcepub fn vendor_code(&self) -> u8
pub fn vendor_code(&self) -> u8
Gets the vendor code used by the host to retrieve the MS OS descriptor
Auto Trait Implementations§
impl<'d> Freeze for MsOsDescriptorSet<'d>
impl<'d> RefUnwindSafe for MsOsDescriptorSet<'d>
impl<'d> Send for MsOsDescriptorSet<'d>
impl<'d> Sync for MsOsDescriptorSet<'d>
impl<'d> Unpin for MsOsDescriptorSet<'d>
impl<'d> UnwindSafe for MsOsDescriptorSet<'d>
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