Struct tinkerforge::imu_v3_bricklet::Quaternion
source · pub struct Quaternion {
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 Quaternion
impl Clone for Quaternion
source§fn clone(&self) -> Quaternion
fn clone(&self) -> Quaternion
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 Quaternion
impl Debug for Quaternion
source§impl Default for Quaternion
impl Default for Quaternion
source§fn default() -> Quaternion
fn default() -> Quaternion
Returns the “default value” for a type. Read more
source§impl FromByteSlice for Quaternion
impl FromByteSlice for Quaternion
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]) -> Quaternion
fn from_le_byte_slice(bytes: &[u8]) -> Quaternion
Deserialize the implementing type from a byte slice.
source§impl Hash for Quaternion
impl Hash for Quaternion
source§impl PartialEq for Quaternion
impl PartialEq for Quaternion
source§fn eq(&self, other: &Quaternion) -> bool
fn eq(&self, other: &Quaternion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Quaternion
impl Eq for Quaternion
impl StructuralPartialEq for Quaternion
Auto Trait Implementations§
impl RefUnwindSafe for Quaternion
impl Send for Quaternion
impl Sync for Quaternion
impl Unpin for Quaternion
impl UnwindSafe for Quaternion
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