pub trait SensorAccess: Sealed {
// Required method
fn sensor(&self) -> &'static dyn Sensor;
}Expand description
Provides access to the sensor driver instance. For driver implementors only.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".