#[non_exhaustive]#[repr(u8)]pub enum SmartDeviceType {
Show 15 variants
Motor,
Rotation,
Imu,
Distance,
Vision,
AiVision,
Electromagnet,
LightTower,
Arm,
Optical,
Gps,
Radio,
Adi,
GenericSerial,
Unknown(V5_DeviceType),
}devices only.Expand description
A possible type of device that can be plugged into a SmartPort.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Motor
Smart Motor
This corresponds to the Motor device.
Rotation
Rotation Sensor
This corresponds to the RotationSensor device.
Imu
Inertial Sensor
This corresponds to the InertialSensor device.
Distance
Distance Sensor
This corresponds to the DistanceSensor device.
Vision
Vision Sensor
This corresponds to the VisionSensor device.
AiVision
AI Vision Sensor
This corresponds to the AiVisionSensor device.
Electromagnet
Workcell Electromagnet
This corresponds to the Electromagnet device.
LightTower
CTE Workcell Light Tower
Arm
CTE Workcell Arm
Optical
Optical Sensor
This corresponds to the OpticalSensor device.
Gps
GPS Sensor
This corresponds to the GpsSensor device.
Radio
Smart Radio
Adi
ADI Expander
This corresponds to the AdiExpander device.
GenericSerial
Generic Serial Port
This corresponds to the SerialPort device.
Unknown(V5_DeviceType)
Other device type code returned by the SDK that is currently unsupported, undocumented, or unknown.
Trait Implementations§
Source§impl Clone for SmartDeviceType
impl Clone for SmartDeviceType
Source§fn clone(&self) -> SmartDeviceType
fn clone(&self) -> SmartDeviceType
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SmartDeviceType
impl Debug for SmartDeviceType
Source§impl From<V5_DeviceType> for SmartDeviceType
impl From<V5_DeviceType> for SmartDeviceType
Source§fn from(value: V5_DeviceType) -> SmartDeviceType
fn from(value: V5_DeviceType) -> SmartDeviceType
Source§impl PartialEq for SmartDeviceType
impl PartialEq for SmartDeviceType
impl Copy for SmartDeviceType
impl Eq for SmartDeviceType
impl StructuralPartialEq for SmartDeviceType
Auto Trait Implementations§
impl Freeze for SmartDeviceType
impl RefUnwindSafe for SmartDeviceType
impl Send for SmartDeviceType
impl Sync for SmartDeviceType
impl Unpin for SmartDeviceType
impl UnwindSafe for SmartDeviceType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)