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