Enum sgp30::ProductType
source · pub enum ProductType {
Sgp30,
Unknown(u8),
}
Expand description
The product types compatible with this driver.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ProductType
impl Clone for ProductType
source§fn clone(&self) -> ProductType
fn clone(&self) -> ProductType
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 ProductType
impl Debug for ProductType
source§impl PartialEq for ProductType
impl PartialEq for ProductType
source§fn eq(&self, other: &ProductType) -> bool
fn eq(&self, other: &ProductType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProductType
impl Eq for ProductType
impl StructuralEq for ProductType
impl StructuralPartialEq for ProductType
Auto Trait Implementations§
impl RefUnwindSafe for ProductType
impl Send for ProductType
impl Sync for ProductType
impl Unpin for ProductType
impl UnwindSafe for ProductType
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