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