pub enum Resolution {
Rh12T14,
Rh8T12,
Rh10T13,
Rh11T11,
}Variants§
Rh12T14
12 bit relative humidity and 14 bit temperature resolution
Rh8T12
8 bit relative humidity and 12 bit temperature resolution
Rh10T13
10 bit relative humidity and 13 bit temperature resolution
Rh11T11
11 bit relative humidity and 11 bit temperature resolution
Implementations§
Source§impl Resolution
impl Resolution
Sourcepub fn rh_measure_time_ms(&self) -> u32
pub fn rh_measure_time_ms(&self) -> u32
Maximum relative humidity measurement time in ms
Sourcepub fn temp_measure_time_ms(&self) -> u32
pub fn temp_measure_time_ms(&self) -> u32
Maximum temperature measurement time in ms
Trait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Source§fn clone(&self) -> Resolution
fn clone(&self) -> Resolution
Returns a duplicate 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 Resolution
impl Debug for Resolution
impl Copy for Resolution
Auto Trait Implementations§
impl Freeze for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnwindSafe for Resolution
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