Struct ade791x::RawMeasurement
source · Expand description
Contains the raw values coming from the ADC.
Fields§
§iwv: i32
Raw current channel value.
v1wv: i32
Raw voltage 1 channel value.
v2wv: i32
Raw voltage 2 channel value.
Trait Implementations§
source§impl Clone for RawMeasurement
impl Clone for RawMeasurement
source§fn clone(&self) -> RawMeasurement
fn clone(&self) -> RawMeasurement
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 RawMeasurement
impl Debug for RawMeasurement
source§impl PartialEq<RawMeasurement> for RawMeasurement
impl PartialEq<RawMeasurement> for RawMeasurement
source§fn eq(&self, other: &RawMeasurement) -> bool
fn eq(&self, other: &RawMeasurement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.