Union vex_sdk::device::V5_DeviceData
source · #[repr(C)]
pub union V5_DeviceData {
pub motor: V5_DeviceMotorData,
pub imu: V5_DeviceImuData,
pub rotation: V5_DevicePositionData,
pub distance: V5_DevicePositionData,
pub optical: V5_DeviceOpticalData,
pub vision: (),
pub gps: V5_DeviceGpsData,
pub adi: V5_DeviceAdiData,
}Fields§
§motor: V5_DeviceMotorData§imu: V5_DeviceImuData§rotation: V5_DevicePositionData§distance: V5_DevicePositionData§optical: V5_DeviceOpticalData§vision: ()§gps: V5_DeviceGpsData§adi: V5_DeviceAdiDataTrait Implementations§
source§impl Clone for V5_DeviceData
impl Clone for V5_DeviceData
source§fn clone(&self) -> V5_DeviceData
fn clone(&self) -> V5_DeviceData
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 moreimpl Copy for V5_DeviceData
Auto Trait Implementations§
impl Freeze for V5_DeviceData
impl RefUnwindSafe for V5_DeviceData
impl !Send for V5_DeviceData
impl !Sync for V5_DeviceData
impl Unpin for V5_DeviceData
impl UnwindSafe for V5_DeviceData
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