Enum vl53l1::DeviceResultsLevel
source · #[repr(u8)]
pub enum DeviceResultsLevel {
SYSTEM_RESULTS,
UPTO_CORE,
FULL,
}
Variants§
Trait Implementations§
source§impl Ord for DeviceResultsLevel
impl Ord for DeviceResultsLevel
source§fn cmp(&self, other: &DeviceResultsLevel) -> Ordering
fn cmp(&self, other: &DeviceResultsLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<DeviceResultsLevel> for DeviceResultsLevel
impl PartialEq<DeviceResultsLevel> for DeviceResultsLevel
source§fn eq(&self, other: &DeviceResultsLevel) -> bool
fn eq(&self, other: &DeviceResultsLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DeviceResultsLevel> for DeviceResultsLevel
impl PartialOrd<DeviceResultsLevel> for DeviceResultsLevel
source§fn partial_cmp(&self, other: &DeviceResultsLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceResultsLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more