Enum mcp9808::reg_res::ResolutionVal
source · #[repr(u8)]pub enum ResolutionVal {
Deg_0_5C = 0,
Deg_0_25C = 1,
Deg_0_125C = 2,
Deg_0_0625C = 3,
}
Variants§
Deg_0_5C = 0
tCONV = 30 ms typical
Deg_0_25C = 1
tCONV = 65 ms typical
Deg_0_125C = 2
tCONV = 130 ms typical
Deg_0_0625C = 3
power-up default, tCONV = 250 ms typical
Trait Implementations§
source§impl Clone for ResolutionVal
impl Clone for ResolutionVal
source§fn clone(&self) -> ResolutionVal
fn clone(&self) -> ResolutionVal
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 ResolutionVal
impl Debug for ResolutionVal
source§impl PartialEq for ResolutionVal
impl PartialEq for ResolutionVal
source§fn eq(&self, other: &ResolutionVal) -> bool
fn eq(&self, other: &ResolutionVal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ResolutionVal
impl StructuralPartialEq for ResolutionVal
Auto Trait Implementations§
impl Freeze for ResolutionVal
impl RefUnwindSafe for ResolutionVal
impl Send for ResolutionVal
impl Sync for ResolutionVal
impl Unpin for ResolutionVal
impl UnwindSafe for ResolutionVal
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