pub enum IntegrationTime {
_25ms,
_50ms,
_100ms,
_200ms,
_400ms,
_800ms,
}
Expand description
pub fn as_ms(&self) -> u16
Return the integration time in milliseconds
pub fn as_us(&self) -> u32
Return the integration time in microseconds
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
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.