#[repr(C)]pub struct SensorInterface {
pub set_sensor_state: SetSensorStateFn,
pub get_sensor_input: SensorGetInputFn,
}Fields§
§set_sensor_state: SetSensorStateFn§get_sensor_input: SensorGetInputFnTrait Implementations§
source§impl Clone for SensorInterface
impl Clone for SensorInterface
source§fn clone(&self) -> SensorInterface
fn clone(&self) -> SensorInterface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more