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