pub trait HapticSink {
// Required method
fn apply(&mut self, device: u64, strong: f32, weak: f32);
}Expand description
Platform hook that receives resolved motor strengths for one device.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".