#[repr(transparent)]pub struct V5_DeviceType(pub c_uchar);
Tuple Fields§
§0: c_uchar
Implementations§
Source§impl V5_DeviceType
impl V5_DeviceType
Sourcepub const kDeviceTypeNoSensor: Self
pub const kDeviceTypeNoSensor: Self
No device connected
Sourcepub const kDeviceTypeMotorSensor: Self
pub const kDeviceTypeMotorSensor: Self
V5 Smart Motor
Sourcepub const kDeviceTypeLedSensor: Self
pub const kDeviceTypeLedSensor: Self
Unknown use (possibly unreleased hardware)
Sourcepub const kDeviceTypeAbsEncSensor: Self
pub const kDeviceTypeAbsEncSensor: Self
Rotation Sensor
Sourcepub const kDeviceTypeCrMotorSensor: Self
pub const kDeviceTypeCrMotorSensor: Self
V5 Motor CR (unknown use)
Sourcepub const kDeviceTypeImuSensor: Self
pub const kDeviceTypeImuSensor: Self
Inertial Sensor
Sourcepub const kDeviceTypeDistanceSensor: Self
pub const kDeviceTypeDistanceSensor: Self
Distance Sensor
Sourcepub const kDeviceTypeRadioSensor: Self
pub const kDeviceTypeRadioSensor: Self
Radio
Sourcepub const kDeviceTypeTetherSensor: Self
pub const kDeviceTypeTetherSensor: Self
Master Controller
Sourcepub const kDeviceTypeBrainSensor: Self
pub const kDeviceTypeBrainSensor: Self
Brain
Sourcepub const kDeviceTypeVisionSensor: Self
pub const kDeviceTypeVisionSensor: Self
Vision Sensor
Sourcepub const kDeviceTypeAdiSensor: Self
pub const kDeviceTypeAdiSensor: Self
ADI
Sourcepub const kDeviceTypeRes1Sensor: Self
pub const kDeviceTypeRes1Sensor: Self
Partner Controller
Sourcepub const kDeviceTypeRes2Sensor: Self
pub const kDeviceTypeRes2Sensor: Self
Battery
Sourcepub const kDeviceTypeRes3Sensor: Self
pub const kDeviceTypeRes3Sensor: Self
Solenoid (unknown use)
Sourcepub const kDeviceTypeOpticalSensor: Self
pub const kDeviceTypeOpticalSensor: Self
Optical Sensor
Sourcepub const kDeviceTypeMagnetSensor: Self
pub const kDeviceTypeMagnetSensor: Self
Electromagnet
Sourcepub const kDeviceTypeGpsSensor: Self
pub const kDeviceTypeGpsSensor: Self
GPS
Sourcepub const kDeviceTypeAicameraSensor: Self
pub const kDeviceTypeAicameraSensor: Self
AI Stereo Camera
Sourcepub const kDeviceTypeLightTowerSensor: Self
pub const kDeviceTypeLightTowerSensor: Self
CTE Workcell Light Tower
Sourcepub const kDeviceTypeArmDevice: Self
pub const kDeviceTypeArmDevice: Self
CTE Workcell Arm
Sourcepub const kDeviceTypeAiVisionSensor: Self
pub const kDeviceTypeAiVisionSensor: Self
AI Vision Sensor
Sourcepub const kDeviceTypePneumaticSensor: Self
pub const kDeviceTypePneumaticSensor: Self
CTE Workcell Pneumatics
pub const kDeviceTypeBumperSensor: Self
pub const kDeviceTypeGyroSensor: Self
pub const kDeviceTypeSonarSensor: Self
pub const kDeviceTypeGenericSensor: Self
Sourcepub const kDeviceTypeGenericSerial: Self
pub const kDeviceTypeGenericSerial: Self
Generic Serial
Sourcepub const kDeviceTypeUndefinedSensor: Self
pub const kDeviceTypeUndefinedSensor: Self
Unknown use
Trait Implementations§
Source§impl Clone for V5_DeviceType
impl Clone for V5_DeviceType
Source§fn clone(&self) -> V5_DeviceType
fn clone(&self) -> V5_DeviceType
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 V5_DeviceType
impl Debug for V5_DeviceType
Source§impl Default for V5_DeviceType
impl Default for V5_DeviceType
Source§fn default() -> V5_DeviceType
fn default() -> V5_DeviceType
Returns the “default value” for a type. Read more
Source§impl PartialEq for V5_DeviceType
impl PartialEq for V5_DeviceType
impl Copy for V5_DeviceType
impl Eq for V5_DeviceType
impl StructuralPartialEq for V5_DeviceType
Auto Trait Implementations§
impl Freeze for V5_DeviceType
impl RefUnwindSafe for V5_DeviceType
impl Send for V5_DeviceType
impl Sync for V5_DeviceType
impl Unpin for V5_DeviceType
impl UnwindSafe for V5_DeviceType
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