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