Enum vl53l1::DistanceMode
source · #[repr(u8)]
pub enum DistanceMode {
Short,
Medium,
Long,
}
Expand description
Distance mode is a parameter provided to optimize the internal settings and tunings to get the best ranging performances depending on the ranging distance required by the application and ambient light conditions.
See the API User Manual section 2.5.3 for further information.
Variants§
Trait Implementations§
source§impl Clone for DistanceMode
impl Clone for DistanceMode
source§fn clone(&self) -> DistanceMode
fn clone(&self) -> DistanceMode
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 DistanceMode
impl Debug for DistanceMode
source§impl Default for DistanceMode
impl Default for DistanceMode
source§impl PartialEq<DistanceMode> for DistanceMode
impl PartialEq<DistanceMode> for DistanceMode
source§fn eq(&self, other: &DistanceMode) -> bool
fn eq(&self, other: &DistanceMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.