pub enum ConversionTime {
Ms100,
Ms800,
}Expand description
The conversion time (configuration bit 11).
Variants§
Ms100
100 ms; on ranges 0 to 5 this drops one to three bits of resolution.
Ms800
800 ms, the full specified resolution on every range (the default).
Implementations§
Trait Implementations§
Source§impl Clone for ConversionTime
impl Clone for ConversionTime
Source§fn clone(&self) -> ConversionTime
fn clone(&self) -> ConversionTime
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 ConversionTime
Source§impl Debug for ConversionTime
impl Debug for ConversionTime
impl Eq for ConversionTime
Source§impl PartialEq for ConversionTime
impl PartialEq for ConversionTime
Source§fn eq(&self, other: &ConversionTime) -> bool
fn eq(&self, other: &ConversionTime) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConversionTime
Auto Trait Implementations§
impl Freeze for ConversionTime
impl RefUnwindSafe for ConversionTime
impl Send for ConversionTime
impl Sync for ConversionTime
impl Unpin for ConversionTime
impl UnsafeUnpin for ConversionTime
impl UnwindSafe for ConversionTime
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