Struct sgp30::FeatureSet
[−]
[src]
pub struct FeatureSet { pub product_type: ProductType, pub product_version: u8, }
The feature set returned by the sensor.
Fields
product_type: ProductType
The product type (see ProductType
)
product_version: u8
The product version
Methods
impl FeatureSet
[src]
Trait Implementations
impl Debug for FeatureSet
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for FeatureSet
[src]
fn eq(&self, __arg_0: &FeatureSet) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FeatureSet) -> bool
[src]
This method tests for !=
.
impl Eq for FeatureSet
[src]
impl Clone for FeatureSet
[src]
fn clone(&self) -> FeatureSet
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more