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