Struct tmp006::SensorData
source · Expand description
Data as read from the sensor.
These values can be used to calculate the object temperature as done in
read_object_temperature()
.
Fields
object_voltage: i16
Object voltage: [-32768..32767]
ambient_temperature: i16
Ambient temperature: [-8192..8191]
Trait Implementations
sourceimpl Clone for SensorData
impl Clone for SensorData
sourcefn clone(&self) -> SensorData
fn clone(&self) -> SensorData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SensorData
impl Debug for SensorData
sourceimpl Default for SensorData
impl Default for SensorData
sourcefn default() -> SensorData
fn default() -> SensorData
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SensorData> for SensorData
impl PartialEq<SensorData> for SensorData
sourcefn eq(&self, other: &SensorData) -> bool
fn eq(&self, other: &SensorData) -> bool
impl Copy for SensorData
impl StructuralPartialEq for SensorData
Auto Trait Implementations
impl RefUnwindSafe for SensorData
impl Send for SensorData
impl Sync for SensorData
impl Unpin for SensorData
impl UnwindSafe for SensorData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more