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

#[repr(C)]pub struct sensor_notifier {
    pub sn_sensor_event_type: sensor_event_type_t,
    pub sn_func: sensor_notifier_func_t,
    pub sn_arg: *mut c_void,
    pub sn_next: sensor_notifier__bindgen_ty_1,
}

Registration for sensor event notifications

Fields

sn_sensor_event_type: sensor_event_type_tsn_func: sensor_notifier_func_tsn_arg: *mut c_voidsn_next: sensor_notifier__bindgen_ty_1

Trait Implementations

impl Default for sensor_notifier[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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, 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.