pub struct PrepareDriverOptions {
pub driver_type: DriverType,
pub vendor_name: Option<String>,
pub device_guid: Option<String>,
pub disable_cat: bool,
pub disable_signing: bool,
pub cert_subject: Option<String>,
pub use_wcid_driver: bool,
pub external_inf: bool,
}Expand description
Options for preparing a driver, as exposed by libwdi
You can use default() to construct.
Fields§
§driver_type: DriverType§vendor_name: Option<String>§device_guid: Option<String>§disable_cat: bool§disable_signing: bool§cert_subject: Option<String>§use_wcid_driver: bool§external_inf: boolIndicates whether to use an external INF file. Note that wdi-rs overrides this
when using a custom INF file via the higher level APIs.
Trait Implementations§
Source§impl Clone for PrepareDriverOptions
impl Clone for PrepareDriverOptions
Source§fn clone(&self) -> PrepareDriverOptions
fn clone(&self) -> PrepareDriverOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrepareDriverOptions
impl Debug for PrepareDriverOptions
Auto Trait Implementations§
impl Freeze for PrepareDriverOptions
impl RefUnwindSafe for PrepareDriverOptions
impl Send for PrepareDriverOptions
impl Sync for PrepareDriverOptions
impl Unpin for PrepareDriverOptions
impl UnwindSafe for PrepareDriverOptions
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