Struct wdk_build::KMDFConfig
source · pub struct KMDFConfig {
pub kmdf_version_major: u8,
pub kmdf_version_minor: u8,
}
Expand description
The configuration parameters for KMDF drivers
Fields§
§kmdf_version_major: u8
Major KMDF Version
kmdf_version_minor: u8
Minor KMDF Version
Implementations§
source§impl KMDFConfig
impl KMDFConfig
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new KMDFConfig
with default values
Trait Implementations§
source§impl Clone for KMDFConfig
impl Clone for KMDFConfig
source§fn clone(&self) -> KMDFConfig
fn clone(&self) -> KMDFConfig
Returns a copy 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 KMDFConfig
impl Debug for KMDFConfig
source§impl Default for KMDFConfig
impl Default for KMDFConfig
source§impl<'de> Deserialize<'de> for KMDFConfig
impl<'de> Deserialize<'de> for KMDFConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for KMDFConfig
impl PartialEq for KMDFConfig
source§fn eq(&self, other: &KMDFConfig) -> bool
fn eq(&self, other: &KMDFConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KMDFConfig
impl Serialize for KMDFConfig
impl Copy for KMDFConfig
impl Eq for KMDFConfig
impl StructuralPartialEq for KMDFConfig
Auto Trait Implementations§
impl RefUnwindSafe for KMDFConfig
impl Send for KMDFConfig
impl Sync for KMDFConfig
impl Unpin for KMDFConfig
impl UnwindSafe for KMDFConfig
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