[][src]Struct mynewt::hw::sensor::sensor_type_traits

#[repr(C)]
pub struct sensor_type_traits { pub stt_sensor_type: sensor_type_t, pub stt_low_thresh: sensor_data_t, pub stt_high_thresh: sensor_data_t, pub stt_algo: u8, pub stt_poll_n: u16, pub stt_polls_left: u16, pub stt_trigger_cmp_algo: sensor_trigger_cmp_func_t, pub stt_sensor: *mut sensor, pub stt_next: sensor_type_traits__bindgen_ty_1, }

Sensor type traits list

Fields

stt_sensor_type: sensor_type_tstt_low_thresh: sensor_data_tstt_high_thresh: sensor_data_tstt_algo: u8stt_poll_n: u16stt_polls_left: u16stt_trigger_cmp_algo: sensor_trigger_cmp_func_tstt_sensor: *mut sensorstt_next: sensor_type_traits__bindgen_ty_1

Trait Implementations

impl Default for sensor_type_traits[src]

Auto Trait Implementations

impl !Send for sensor_type_traits

impl !Sync for sensor_type_traits

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]