#[repr(C)]pub struct PamojaBme280Settings {
pub temperature: u8,
pub pressure: u8,
pub humidity: u8,
pub filter: u8,
}Expand description
How a BME280 driver measures: the oversampling of each measurement and the IIR filter.
Fields§
§temperature: u8The temperature oversampling code, 0..=5, where 0 skips the measurement.
pressure: u8The pressure oversampling code, 0..=5, where 0 skips the measurement.
humidity: u8The humidity oversampling code, 0..=5, where 0 skips the measurement.
filter: u8The IIR filter code, 0..=4, where 0 is off.
Trait Implementations§
Source§impl Clone for PamojaBme280Settings
impl Clone for PamojaBme280Settings
Source§fn clone(&self) -> PamojaBme280Settings
fn clone(&self) -> PamojaBme280Settings
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 PamojaBme280Settings
Source§impl Debug for PamojaBme280Settings
impl Debug for PamojaBme280Settings
impl Eq for PamojaBme280Settings
Source§impl PartialEq for PamojaBme280Settings
impl PartialEq for PamojaBme280Settings
impl StructuralPartialEq for PamojaBme280Settings
Auto Trait Implementations§
impl Freeze for PamojaBme280Settings
impl RefUnwindSafe for PamojaBme280Settings
impl Send for PamojaBme280Settings
impl Sync for PamojaBme280Settings
impl Unpin for PamojaBme280Settings
impl UnsafeUnpin for PamojaBme280Settings
impl UnwindSafe for PamojaBme280Settings
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