Struct vl53l1_reg::RESULT__PHASE_SD1
source · pub struct RESULT__PHASE_SD1(pub u16);
Tuple Fields§
§0: u16
Implementations§
Trait Implementations§
source§impl<T> BitRangeMut<T> for RESULT__PHASE_SD1where
u16: BitRangeMut<T>,
impl<T> BitRangeMut<T> for RESULT__PHASE_SD1where
u16: BitRangeMut<T>,
source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
source§impl Clone for RESULT__PHASE_SD1
impl Clone for RESULT__PHASE_SD1
source§fn clone(&self) -> RESULT__PHASE_SD1
fn clone(&self) -> RESULT__PHASE_SD1
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 RESULT__PHASE_SD1
impl Debug for RESULT__PHASE_SD1
source§impl Default for RESULT__PHASE_SD1
impl Default for RESULT__PHASE_SD1
source§impl Entry for RESULT__PHASE_SD1
impl Entry for RESULT__PHASE_SD1
source§const INDEX: Index = Index::RESULT__PHASE_SD1
const INDEX: Index = Index::RESULT__PHASE_SD1
The unique index indicating the location of the entry within the register map.
source§fn into_array(self) -> Self::Array
fn into_array(self) -> Self::Array
Encode self in an array, ready for transmission over I2C (to MSB).
source§fn from_array(arr: Self::Array) -> Self
fn from_array(arr: Self::Array) -> Self
Decode self from an of bytes in the order they were received over I2C (from MSB).
source§impl Hash for RESULT__PHASE_SD1
impl Hash for RESULT__PHASE_SD1
source§impl PartialEq<RESULT__PHASE_SD1> for RESULT__PHASE_SD1
impl PartialEq<RESULT__PHASE_SD1> for RESULT__PHASE_SD1
source§fn eq(&self, other: &RESULT__PHASE_SD1) -> bool
fn eq(&self, other: &RESULT__PHASE_SD1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.