#[repr(C)]pub struct retro_sensor_interface {
pub set_sensor_state: retro_set_sensor_state_t,
pub get_sensor_input: retro_sensor_get_input_t,
}
Fields§
§set_sensor_state: retro_set_sensor_state_t
§get_sensor_input: retro_sensor_get_input_t
Trait Implementations§
source§impl Clone for retro_sensor_interface
impl Clone for retro_sensor_interface
source§fn clone(&self) -> retro_sensor_interface
fn clone(&self) -> retro_sensor_interface
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