Enum sgp30::ProductType[][src]

pub enum ProductType {
    Sgp30,
    Unknown(u8),
}

The product types compatible with this driver.

Variants

SGP30

Unknown product type

Methods

impl ProductType
[src]

Parse the product type.

Trait Implementations

impl Debug for ProductType
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ProductType
[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 ProductType
[src]

impl Copy for ProductType
[src]

impl Clone for ProductType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for ProductType

impl Sync for ProductType