pub struct Icm20948Config {
pub acc_range: AccRange,
pub gyr_range: GyrRange,
pub acc_unit: AccUnit,
pub gyr_unit: GyrUnit,
pub acc_dlp: AccDlp,
pub gyr_dlp: GyrDlp,
pub acc_odr: u16,
pub gyr_odr: u8,
}
Fields§
§acc_range: AccRange
§gyr_range: GyrRange
§acc_unit: AccUnit
§gyr_unit: GyrUnit
§acc_dlp: AccDlp
§gyr_dlp: GyrDlp
§acc_odr: u16
§gyr_odr: u8
Trait Implementations§
Source§impl Clone for Icm20948Config
impl Clone for Icm20948Config
Source§fn clone(&self) -> Icm20948Config
fn clone(&self) -> Icm20948Config
Returns a duplicate 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 Icm20948Config
impl Debug for Icm20948Config
Source§impl Default for Icm20948Config
impl Default for Icm20948Config
impl Copy for Icm20948Config
Auto Trait Implementations§
impl Freeze for Icm20948Config
impl RefUnwindSafe for Icm20948Config
impl Send for Icm20948Config
impl Sync for Icm20948Config
impl Unpin for Icm20948Config
impl UnwindSafe for Icm20948Config
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.