#[repr(transparent)]pub struct V5_DeviceType(pub c_uchar);Tuple Fields§
§0: c_ucharImplementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)