#[repr(C)]pub struct PamojaBmp280Reading {
pub celsius: f32,
pub pascals: u32,
pub hectopascals: f32,
}Expand description
A compensated BMP280 reading.
Fields§
§celsius: f32The temperature in degrees Celsius.
pascals: u32The pressure in pascals.
hectopascals: f32The pressure in hectopascals, the unit a barometer is usually quoted in.
Trait Implementations§
Source§impl Clone for PamojaBmp280Reading
impl Clone for PamojaBmp280Reading
Source§fn clone(&self) -> PamojaBmp280Reading
fn clone(&self) -> PamojaBmp280Reading
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 PamojaBmp280Reading
Source§impl Debug for PamojaBmp280Reading
impl Debug for PamojaBmp280Reading
Source§impl PartialEq for PamojaBmp280Reading
impl PartialEq for PamojaBmp280Reading
Source§fn eq(&self, other: &PamojaBmp280Reading) -> bool
fn eq(&self, other: &PamojaBmp280Reading) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaBmp280Reading
Auto Trait Implementations§
impl Freeze for PamojaBmp280Reading
impl RefUnwindSafe for PamojaBmp280Reading
impl Send for PamojaBmp280Reading
impl Sync for PamojaBmp280Reading
impl Unpin for PamojaBmp280Reading
impl UnsafeUnpin for PamojaBmp280Reading
impl UnwindSafe for PamojaBmp280Reading
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