pub trait MouseClickSource: Sized {
// Required method
fn mouse_click(
&mut self,
event: obs_mouse_event,
button: MouseButton,
pressed: bool,
click_count: u8,
);
}
Required Methods§
fn mouse_click( &mut self, event: obs_mouse_event, button: MouseButton, pressed: bool, click_count: u8, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.