#[repr(C)]pub struct SensorInterface {
pub set_sensor_state: SetSensorStateFn,
pub get_sensor_input: SensorGetInputFn,
}
Fields§
§set_sensor_state: SetSensorStateFn
§get_sensor_input: SensorGetInputFn
Trait 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 moreAuto Trait Implementations§
impl Freeze for SensorInterface
impl RefUnwindSafe for SensorInterface
impl Send for SensorInterface
impl Sync for SensorInterface
impl Unpin for SensorInterface
impl UnwindSafe for SensorInterface
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more