Enum tmp1x2::ConversionRate
source · pub enum ConversionRate {
_0_25Hz,
_1Hz,
_4Hz,
_8Hz,
}
Expand description
Conversion rate for continuous conversion mode
Variants§
Trait Implementations§
source§impl Clone for ConversionRate
impl Clone for ConversionRate
source§fn clone(&self) -> ConversionRate
fn clone(&self) -> ConversionRate
Returns a copy 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 ConversionRate
impl Debug for ConversionRate
source§impl Default for ConversionRate
impl Default for ConversionRate
source§fn default() -> ConversionRate
fn default() -> ConversionRate
Returns the “default value” for a type. Read more
source§impl Hash for ConversionRate
impl Hash for ConversionRate
source§impl PartialEq for ConversionRate
impl PartialEq for ConversionRate
source§fn eq(&self, other: &ConversionRate) -> bool
fn eq(&self, other: &ConversionRate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConversionRate
impl Eq 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§
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