pub struct ChannelReading {
pub red: f32,
pub ox: f32,
pub nh3: f32,
}Expand description
Raw resistance readings from the three sensor channels.
Fields§
§red: f32Rs/R0 ratio from the RED (reducing) sensor channel.
ox: f32Rs/R0 ratio from the OX (oxidising) sensor channel.
nh3: f32Rs/R0 ratio from the NH3 sensor channel.
Trait Implementations§
Source§impl Clone for ChannelReading
impl Clone for ChannelReading
Source§fn clone(&self) -> ChannelReading
fn clone(&self) -> ChannelReading
Returns a duplicate 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 ChannelReading
impl Debug for ChannelReading
impl Copy for ChannelReading
Auto Trait Implementations§
impl Freeze for ChannelReading
impl RefUnwindSafe for ChannelReading
impl Send for ChannelReading
impl Sync for ChannelReading
impl Unpin for ChannelReading
impl UnsafeUnpin for ChannelReading
impl UnwindSafe for ChannelReading
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