Struct tinkerforge::imu_v3_bricklet::AllDataEvent [−][src]
pub struct AllDataEvent { pub acceleration: [i16; 3], pub magnetic_field: [i16; 3], pub angular_velocity: [i16; 3], pub euler_angle: [i16; 3], pub quaternion: [i16; 4], pub linear_acceleration: [i16; 3], pub gravity_vector: [i16; 3], pub temperature: i8, pub calibration_status: u8, }
Fields
acceleration: [i16; 3]
magnetic_field: [i16; 3]
angular_velocity: [i16; 3]
euler_angle: [i16; 3]
quaternion: [i16; 4]
linear_acceleration: [i16; 3]
gravity_vector: [i16; 3]
temperature: i8
calibration_status: u8
Trait Implementations
impl Clone for AllDataEvent
[src]
impl Clone for AllDataEvent
[src]fn clone(&self) -> AllDataEvent
[src]
fn clone(&self) -> AllDataEvent
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for AllDataEvent
[src]
impl Debug for AllDataEvent
[src]impl Default for AllDataEvent
[src]
impl Default for AllDataEvent
[src]fn default() -> AllDataEvent
[src]
fn default() -> AllDataEvent
[src]Returns the “default value” for a type. Read more
impl FromByteSlice for AllDataEvent
[src]
impl FromByteSlice for AllDataEvent
[src]fn bytes_expected() -> usize
[src]
fn bytes_expected() -> usize
[src]Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
fn from_le_byte_slice(bytes: &[u8]) -> AllDataEvent
[src]
fn from_le_byte_slice(bytes: &[u8]) -> AllDataEvent
[src]Deserialize the implementing type from a byte slice.
impl Hash for AllDataEvent
[src]
impl Hash for AllDataEvent
[src]impl PartialEq<AllDataEvent> for AllDataEvent
[src]
impl PartialEq<AllDataEvent> for AllDataEvent
[src]fn eq(&self, other: &AllDataEvent) -> bool
[src]
fn eq(&self, other: &AllDataEvent) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &AllDataEvent) -> bool
[src]
fn ne(&self, other: &AllDataEvent) -> bool
[src]This method tests for !=
.
impl Copy for AllDataEvent
[src]
impl Eq for AllDataEvent
[src]
impl StructuralEq for AllDataEvent
[src]
impl StructuralPartialEq for AllDataEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for AllDataEvent
impl Send for AllDataEvent
impl Sync for AllDataEvent
impl Unpin for AllDataEvent
impl UnwindSafe for AllDataEvent
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more