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