Struct tinkerforge::imu_v2_brick::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
sourceimpl Clone for SensorConfiguration
impl Clone for SensorConfiguration
sourcefn clone(&self) -> SensorConfiguration
fn clone(&self) -> SensorConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SensorConfiguration
impl Debug for SensorConfiguration
sourceimpl Default for SensorConfiguration
impl Default for SensorConfiguration
sourcefn default() -> SensorConfiguration
fn default() -> SensorConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for SensorConfiguration
impl FromByteSlice for SensorConfiguration
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> SensorConfiguration
fn from_le_bytes(bytes: &[u8]) -> SensorConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for SensorConfiguration
impl Hash for SensorConfiguration
sourceimpl PartialEq<SensorConfiguration> for SensorConfiguration
impl PartialEq<SensorConfiguration> for SensorConfiguration
sourcefn eq(&self, other: &SensorConfiguration) -> bool
fn eq(&self, other: &SensorConfiguration) -> bool
impl Copy for SensorConfiguration
impl Eq for SensorConfiguration
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more