Enum tmp006::ConversionRate
source · pub enum ConversionRate {
Cps4,
Cps2,
Cps1,
Cps0_5,
Cps0_25,
}
Expand description
ADC conversion rate
Variants
Cps4
4 conversions per second
Cps2
2 conversions per second
Cps1
1 conversion per second (default)
Cps0_5
0.5 conversions per second
Cps0_25
0.25 conversions per second
Trait Implementations
sourceimpl Clone for ConversionRate
impl Clone for ConversionRate
sourcefn clone(&self) -> ConversionRate
fn clone(&self) -> ConversionRate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConversionRate
impl Debug for ConversionRate
sourceimpl PartialEq<ConversionRate> for ConversionRate
impl PartialEq<ConversionRate> for ConversionRate
sourcefn eq(&self, other: &ConversionRate) -> bool
fn eq(&self, other: &ConversionRate) -> bool
impl Copy for ConversionRate
impl StructuralPartialEq for ConversionRate
Auto Trait Implementations
impl RefUnwindSafe for ConversionRate
impl Send for ConversionRate
impl Sync for ConversionRate
impl Unpin for ConversionRate
impl UnwindSafe for ConversionRate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more