Struct tinkerforge::imu_v2_brick::QuaternionEvent
source · pub struct QuaternionEvent {
pub w: i16,
pub x: i16,
pub y: i16,
pub z: i16,
}
Fields§
§w: i16
§x: i16
§y: i16
§z: i16
Trait Implementations§
source§impl Clone for QuaternionEvent
impl Clone for QuaternionEvent
source§fn clone(&self) -> QuaternionEvent
fn clone(&self) -> QuaternionEvent
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 QuaternionEvent
impl Debug for QuaternionEvent
source§impl Default for QuaternionEvent
impl Default for QuaternionEvent
source§fn default() -> QuaternionEvent
fn default() -> QuaternionEvent
Returns the “default value” for a type. Read more
source§impl FromByteSlice for QuaternionEvent
impl FromByteSlice for QuaternionEvent
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> QuaternionEvent
fn from_le_byte_slice(bytes: &[u8]) -> QuaternionEvent
Deserialize the implementing type from a byte slice.
source§impl Hash for QuaternionEvent
impl Hash for QuaternionEvent
source§impl PartialEq for QuaternionEvent
impl PartialEq for QuaternionEvent
source§fn eq(&self, other: &QuaternionEvent) -> bool
fn eq(&self, other: &QuaternionEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for QuaternionEvent
impl Eq for QuaternionEvent
impl StructuralPartialEq for QuaternionEvent
Auto Trait Implementations§
impl RefUnwindSafe for QuaternionEvent
impl Send for QuaternionEvent
impl Sync for QuaternionEvent
impl Unpin for QuaternionEvent
impl UnwindSafe for QuaternionEvent
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