Struct vex_sdk::device::V5_DeviceType
source · #[repr(C)]pub struct V5_DeviceType(/* private fields */);Implementations§
source§impl V5_DeviceType
impl V5_DeviceType
pub const kDeviceTypeNoSensor: Self = _
pub const kDeviceTypeMotorSensor: Self = _
pub const kDeviceTypeLedSensor: Self = _
pub const kDeviceTypeAbsEncSensor: Self = _
pub const kDeviceTypeCrMotorSensor: Self = _
pub const kDeviceTypeImuSensor: Self = _
pub const kDeviceTypeDistanceSensor: Self = _
pub const kDeviceTypeRadioSensor: Self = _
pub const kDeviceTypeTetherSensor: Self = _
pub const kDeviceTypeBrainSensor: Self = _
pub const kDeviceTypeVisionSensor: Self = _
pub const kDeviceTypeAdiSensor: Self = _
pub const kDeviceTypeRes1Sensor: Self = _
pub const kDeviceTypeRes2Sensor: Self = _
pub const kDeviceTypeRes3Sensor: Self = _
pub const kDeviceTypeOpticalSensor: Self = _
pub const kDeviceTypeMagnetSensor: Self = _
pub const kDeviceTypeGpsSensor: Self = _
pub const kDeviceTypeAicameraSensor: Self = _
pub const kDeviceTypeLightTowerSensor: Self = _
pub const kDeviceTypeArmDevice: Self = _
pub const kDeviceTypeAiVisionSensor: Self = _
pub const kDeviceTypePneumaticSensor: Self = _
pub const kDeviceTypeBumperSensor: Self = _
pub const kDeviceTypeGyroSensor: Self = _
pub const kDeviceTypeSonarSensor: Self = _
pub const kDeviceTypeGenericSensor: Self = _
pub const kDeviceTypeGenericSerial: Self = _
pub const kDeviceTypeUndefinedSensor: Self = _
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
source§fn eq(&self, other: &V5_DeviceType) -> bool
fn eq(&self, other: &V5_DeviceType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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