Struct sgp30::FeatureSet[][src]

pub struct FeatureSet {
    pub product_type: ProductType,
    pub product_version: u8,
}

The feature set returned by the sensor.

Fields

The product type (see ProductType)

The product version

Methods

impl FeatureSet
[src]

Parse the two bytes returned by the device.

Trait Implementations

impl Debug for FeatureSet
[src]

Formats the value using the given formatter. Read more

impl PartialEq for FeatureSet
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for FeatureSet
[src]

impl Clone for FeatureSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for FeatureSet

impl Sync for FeatureSet