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