pub enum SensorType {
Unknown = 0,
Infrared = 1,
Depth = 3,
Color = 2,
Accelerometer = 4,
Gyroscope = 5,
LeftInfrared = 6,
RightInfrared = 7,
Confidence = 9,
}Expand description
Sensor Type
Variants§
Unknown = 0
Unknown Sensor
Infrared = 1
Infrared Sensor
Depth = 3
Depth Sensor
Color = 2
Color Sensor
Accelerometer = 4
Accelerometer Sensor
Gyroscope = 5
Gyroscope Sensor
LeftInfrared = 6
Left IR Sensor
RightInfrared = 7
Right IR Sensor
Confidence = 9
Confidence Sensor
Trait Implementations§
Source§impl Clone for OBSensorType
impl Clone for OBSensorType
Source§fn clone(&self) -> OBSensorType
fn clone(&self) -> OBSensorType
Returns a duplicate 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 OBSensorType
impl Debug for OBSensorType
Source§impl Hash for OBSensorType
impl Hash for OBSensorType
Source§impl PartialEq for OBSensorType
impl PartialEq for OBSensorType
impl Copy for OBSensorType
impl Eq for OBSensorType
impl StructuralPartialEq for OBSensorType
Auto Trait Implementations§
impl Freeze for OBSensorType
impl RefUnwindSafe for OBSensorType
impl Send for OBSensorType
impl Sync for OBSensorType
impl Unpin for OBSensorType
impl UnwindSafe for OBSensorType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more