Struct sgp30::RawSignals
source · pub struct RawSignals {
pub h2: u16,
pub ethanol: u16,
}
Expand description
A raw signals result from the sensor.
Fields§
§h2: u16
H2 signal
ethanol: u16
Ethanol signal
Trait Implementations§
source§impl Clone for RawSignals
impl Clone for RawSignals
source§fn clone(&self) -> RawSignals
fn clone(&self) -> RawSignals
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 RawSignals
impl Debug for RawSignals
source§impl PartialEq for RawSignals
impl PartialEq for RawSignals
source§fn eq(&self, other: &RawSignals) -> bool
fn eq(&self, other: &RawSignals) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RawSignals
impl StructuralEq for RawSignals
impl StructuralPartialEq for RawSignals
Auto Trait Implementations§
impl RefUnwindSafe for RawSignals
impl Send for RawSignals
impl Sync for RawSignals
impl Unpin for RawSignals
impl UnwindSafe for RawSignals
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