Struct wdk_build::UMDFConfig
source · pub struct UMDFConfig {
pub umdf_version_major: u8,
pub umdf_version_minor: u8,
}
Expand description
The configuration parameters for UMDF drivers
Fields§
§umdf_version_major: u8
Major UMDF Version
umdf_version_minor: u8
Minor UMDF Version
Implementations§
source§impl UMDFConfig
impl UMDFConfig
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new UMDFConfig
with default values
Trait Implementations§
source§impl Clone for UMDFConfig
impl Clone for UMDFConfig
source§fn clone(&self) -> UMDFConfig
fn clone(&self) -> UMDFConfig
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 UMDFConfig
impl Debug for UMDFConfig
source§impl Default for UMDFConfig
impl Default for UMDFConfig
source§impl<'de> Deserialize<'de> for UMDFConfig
impl<'de> Deserialize<'de> for UMDFConfig
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 UMDFConfig
impl PartialEq for UMDFConfig
source§fn eq(&self, other: &UMDFConfig) -> bool
fn eq(&self, other: &UMDFConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UMDFConfig
impl Serialize for UMDFConfig
impl Copy for UMDFConfig
impl Eq for UMDFConfig
impl StructuralPartialEq for UMDFConfig
Auto Trait Implementations§
impl RefUnwindSafe for UMDFConfig
impl Send for UMDFConfig
impl Sync for UMDFConfig
impl Unpin for UMDFConfig
impl UnwindSafe for UMDFConfig
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