#[repr(u8)]
pub enum Mode {
Sleep,
Forced,
Normal,
}
Expand description
Reset value of the mode field in the CtrlMeas register.
use bme280_multibus::Mode;
assert_eq!(Mode::reset(), Mode::Sleep);
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.