#[repr(C)]pub struct PamojaTmp117Reading {
pub raw: i16,
pub micro_celsius: i32,
pub celsius: f32,
}Expand description
A TMP117 temperature result.
Fields§
§raw: i16The temperature register, 7.8125 millidegrees Celsius per count.
micro_celsius: i32The temperature in micro-degrees Celsius, exact in integer arithmetic.
celsius: f32The temperature in degrees Celsius.
Trait Implementations§
Source§impl Clone for PamojaTmp117Reading
impl Clone for PamojaTmp117Reading
Source§fn clone(&self) -> PamojaTmp117Reading
fn clone(&self) -> PamojaTmp117Reading
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaTmp117Reading
Source§impl Debug for PamojaTmp117Reading
impl Debug for PamojaTmp117Reading
Source§impl PartialEq for PamojaTmp117Reading
impl PartialEq for PamojaTmp117Reading
impl StructuralPartialEq for PamojaTmp117Reading
Auto Trait Implementations§
impl Freeze for PamojaTmp117Reading
impl RefUnwindSafe for PamojaTmp117Reading
impl Send for PamojaTmp117Reading
impl Sync for PamojaTmp117Reading
impl Unpin for PamojaTmp117Reading
impl UnsafeUnpin for PamojaTmp117Reading
impl UnwindSafe for PamojaTmp117Reading
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