Enum sgp30::ProductType [−][src]
pub enum ProductType { Sgp30, Unknown(u8), }
The product types compatible with this driver.
Variants
Sgp30
SGP30
Unknown(u8)
Unknown product type
Methods
impl ProductType
[src]
impl ProductType
Trait Implementations
impl Debug for ProductType
[src]
impl Debug for ProductType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ProductType
[src]
impl PartialEq for ProductType
fn eq(&self, other: &ProductType) -> bool
[src]
fn eq(&self, other: &ProductType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ProductType) -> bool
[src]
fn ne(&self, other: &ProductType) -> bool
This method tests for !=
.
impl Eq for ProductType
[src]
impl Eq for ProductType
impl Copy for ProductType
[src]
impl Copy for ProductType
impl Clone for ProductType
[src]
impl Clone for ProductType
fn clone(&self) -> ProductType
[src]
fn clone(&self) -> ProductType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ProductType
impl Send for ProductType
impl Sync for ProductType
impl Sync for ProductType