Enum vl53l1::DeviceState
source · #[repr(u8)]
pub enum DeviceState {
POWERDOWN,
HW_STANDBY,
FW_COLDBOOT,
SW_STANDBY,
RANGING_DSS_AUTO,
RANGING_DSS_MANUAL,
RANGING_WAIT_GPH_SYNC,
RANGING_GATHER_DATA,
RANGING_OUTPUT_DATA,
UNKNOWN,
ERROR,
}
Variants§
POWERDOWN
HW_STANDBY
FW_COLDBOOT
SW_STANDBY
RANGING_DSS_AUTO
RANGING_DSS_MANUAL
RANGING_WAIT_GPH_SYNC
RANGING_GATHER_DATA
RANGING_OUTPUT_DATA
UNKNOWN
ERROR
Trait Implementations§
source§impl Clone for DeviceState
impl Clone for DeviceState
source§fn clone(&self) -> DeviceState
fn clone(&self) -> DeviceState
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 DeviceState
impl Debug for DeviceState
source§impl Default for DeviceState
impl Default for DeviceState
source§impl PartialEq<DeviceState> for DeviceState
impl PartialEq<DeviceState> for DeviceState
source§fn eq(&self, other: &DeviceState) -> bool
fn eq(&self, other: &DeviceState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.