pub struct DeviceClassConfiguration {
pub opaque: Option<OpaqueDeviceConfiguration>,
}
Expand description
DeviceClassConfiguration is used in DeviceClass.
Fields§
§opaque: Option<OpaqueDeviceConfiguration>
Opaque provides driver-specific configuration parameters.
Trait Implementations§
Source§impl Clone for DeviceClassConfiguration
impl Clone for DeviceClassConfiguration
Source§fn clone(&self) -> DeviceClassConfiguration
fn clone(&self) -> DeviceClassConfiguration
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 DeviceClassConfiguration
impl Debug for DeviceClassConfiguration
Source§impl DeepMerge for DeviceClassConfiguration
impl DeepMerge for DeviceClassConfiguration
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for DeviceClassConfiguration
impl Default for DeviceClassConfiguration
Source§fn default() -> DeviceClassConfiguration
fn default() -> DeviceClassConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceClassConfiguration
impl<'de> Deserialize<'de> for DeviceClassConfiguration
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 DeviceClassConfiguration
impl PartialEq for DeviceClassConfiguration
Source§impl Serialize for DeviceClassConfiguration
impl Serialize for DeviceClassConfiguration
impl StructuralPartialEq for DeviceClassConfiguration
Auto Trait Implementations§
impl Freeze for DeviceClassConfiguration
impl RefUnwindSafe for DeviceClassConfiguration
impl Send for DeviceClassConfiguration
impl Sync for DeviceClassConfiguration
impl Unpin for DeviceClassConfiguration
impl UnwindSafe for DeviceClassConfiguration
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