Struct ModelIdDescriptor
#[repr(C, packed(1))]pub struct ModelIdDescriptor { /* private fields */ }
Expand description
Table 17. Microsoft OS 2.0 model ID descriptor.
Implementations§
§impl ModelIdDescriptor
impl ModelIdDescriptor
pub fn new(model_id: u128) -> ModelIdDescriptor
pub fn new(model_id: u128) -> ModelIdDescriptor
Creates a new model ID descriptor
model_id
should be a uuid that uniquely identifies a physical device.
Trait Implementations§
impl DeviceLevelDescriptor for ModelIdDescriptor
Auto Trait Implementations§
impl Freeze for ModelIdDescriptor
impl RefUnwindSafe for ModelIdDescriptor
impl Send for ModelIdDescriptor
impl Sync for ModelIdDescriptor
impl Unpin for ModelIdDescriptor
impl UnwindSafe for ModelIdDescriptor
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