pub struct SupportedFeatures {
pub ecg: bool,
pub ppg: bool,
pub acc: bool,
pub ppi: bool,
pub gyro: bool,
pub mag: bool,
}Expand description
Struct that reads what features are available on your device
Fields§
§ecg: boolElectrocardiogram
ppg: boolPhotoplethysmography
acc: boolAcceleration
ppi: boolPeak to peak
gyro: boolGyroscope
mag: boolMagnetometer
Implementations§
Source§impl SupportedFeatures
impl SupportedFeatures
Sourcepub fn new(mes: u8) -> SupportedFeatures
pub fn new(mes: u8) -> SupportedFeatures
Create SupportedFeatures
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SupportedFeatures
impl RefUnwindSafe for SupportedFeatures
impl Send for SupportedFeatures
impl Sync for SupportedFeatures
impl Unpin for SupportedFeatures
impl UnwindSafe for SupportedFeatures
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