Struct vex_sdk::device::V5_DeviceImuData
source · #[repr(C)]pub struct V5_DeviceImuData {
pub orientation: V5ImuOrientationMode,
pub rotation: V5_DeviceImuRaw,
pub acceleration: V5_DeviceImuRaw,
pub reset_timestamp: u32,
}Fields§
§orientation: V5ImuOrientationMode§rotation: V5_DeviceImuRaw§acceleration: V5_DeviceImuRaw§reset_timestamp: u32Trait Implementations§
source§impl Clone for V5_DeviceImuData
impl Clone for V5_DeviceImuData
source§fn clone(&self) -> V5_DeviceImuData
fn clone(&self) -> V5_DeviceImuData
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_DeviceImuData
impl Debug for V5_DeviceImuData
source§impl Default for V5_DeviceImuData
impl Default for V5_DeviceImuData
source§fn default() -> V5_DeviceImuData
fn default() -> V5_DeviceImuData
Returns the “default value” for a type. Read more
source§impl PartialEq for V5_DeviceImuData
impl PartialEq for V5_DeviceImuData
source§fn eq(&self, other: &V5_DeviceImuData) -> bool
fn eq(&self, other: &V5_DeviceImuData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for V5_DeviceImuData
impl StructuralPartialEq for V5_DeviceImuData
Auto Trait Implementations§
impl Freeze for V5_DeviceImuData
impl RefUnwindSafe for V5_DeviceImuData
impl Send for V5_DeviceImuData
impl Sync for V5_DeviceImuData
impl Unpin for V5_DeviceImuData
impl UnwindSafe for V5_DeviceImuData
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