Struct vl53l1_reg::SYSTEM__THRESH_HIGH_LO
source · pub struct SYSTEM__THRESH_HIGH_LO(pub u8);
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
source§impl<T> BitRangeMut<T> for SYSTEM__THRESH_HIGH_LOwhere
u8: BitRangeMut<T>,
impl<T> BitRangeMut<T> for SYSTEM__THRESH_HIGH_LOwhere
u8: 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 SYSTEM__THRESH_HIGH_LO
impl Clone for SYSTEM__THRESH_HIGH_LO
source§fn clone(&self) -> SYSTEM__THRESH_HIGH_LO
fn clone(&self) -> SYSTEM__THRESH_HIGH_LO
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 SYSTEM__THRESH_HIGH_LO
impl Debug for SYSTEM__THRESH_HIGH_LO
source§impl Default for SYSTEM__THRESH_HIGH_LO
impl Default for SYSTEM__THRESH_HIGH_LO
source§fn default() -> SYSTEM__THRESH_HIGH_LO
fn default() -> SYSTEM__THRESH_HIGH_LO
Returns the “default value” for a type. Read more
source§impl Entry for SYSTEM__THRESH_HIGH_LO
impl Entry for SYSTEM__THRESH_HIGH_LO
source§const INDEX: Index = Index::SYSTEM__THRESH_HIGH_LO
const INDEX: Index = Index::SYSTEM__THRESH_HIGH_LO
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 SYSTEM__THRESH_HIGH_LO
impl Hash for SYSTEM__THRESH_HIGH_LO
source§impl PartialEq<SYSTEM__THRESH_HIGH_LO> for SYSTEM__THRESH_HIGH_LO
impl PartialEq<SYSTEM__THRESH_HIGH_LO> for SYSTEM__THRESH_HIGH_LO
source§fn eq(&self, other: &SYSTEM__THRESH_HIGH_LO) -> bool
fn eq(&self, other: &SYSTEM__THRESH_HIGH_LO) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.