[][src]Union ndk_sys::ASensorEvent__bindgen_ty_1__bindgen_ty_1

#[repr(C)]pub union ASensorEvent__bindgen_ty_1__bindgen_ty_1 {
    pub data: [f32; 16],
    pub vector: ASensorVector,
    pub acceleration: ASensorVector,
    pub magnetic: ASensorVector,
    pub temperature: f32,
    pub distance: f32,
    pub light: f32,
    pub pressure: f32,
    pub relative_humidity: f32,
    pub uncalibrated_gyro: AUncalibratedEvent,
    pub uncalibrated_magnetic: AUncalibratedEvent,
    pub meta_data: AMetaDataEvent,
    pub heart_rate: AHeartRateEvent,
    pub dynamic_sensor_meta: ADynamicSensorEvent,
    pub additional_info: AAdditionalInfoEvent,
    // some fields omitted
}

Fields

data: [f32; 16]vector: ASensorVectoracceleration: ASensorVectormagnetic: ASensorVectortemperature: f32distance: f32light: f32pressure: f32relative_humidity: f32uncalibrated_gyro: AUncalibratedEventuncalibrated_magnetic: AUncalibratedEventmeta_data: AMetaDataEventheart_rate: AHeartRateEventdynamic_sensor_meta: ADynamicSensorEventadditional_info: AAdditionalInfoEvent

Trait Implementations

impl Clone for ASensorEvent__bindgen_ty_1__bindgen_ty_1[src]

impl Copy for ASensorEvent__bindgen_ty_1__bindgen_ty_1[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.