#[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