Union ndk_sys::ASensorEvent__bindgen_ty_1__bindgen_ty_1[][src]

#[repr(C)]
pub union ASensorEvent__bindgen_ty_1__bindgen_ty_1 {
Show 17 fields pub data: [f32; 16], pub vector: ASensorVector, pub acceleration: ASensorVector, pub gyro: ASensorVector, pub magnetic: ASensorVector, pub temperature: f32, pub distance: f32, pub light: f32, pub pressure: f32, pub relative_humidity: f32, pub uncalibrated_acceleration: AUncalibratedEvent, 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,
}

Fields

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.