#[repr(C)]
pub struct SensorData { pub status: u8, pub gas_index: u8, pub meas_index: u8, pub res_heat: u8, pub idac: u8, pub gas_wait: u8, pub temperature: c_float, pub pressure: c_float, pub humidity: c_float, pub gas_resistance: c_float, }

Fields

status: u8gas_index: u8meas_index: u8res_heat: u8idac: u8gas_wait: u8temperature: c_floatpressure: c_floathumidity: c_floatgas_resistance: c_float

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.