pub enum MouseRequest {
SimulateMouseEvent {
payload: MouseSimulateMouseEventRequest,
responder: MouseSimulateMouseEventResponder,
},
}
Expand description
A tool to inject mouse events into Input Pipeline.
Please extend as necessary.
Variants§
SimulateMouseEvent
Injects an input report corresponding to the event specified.
NOTE: the movement
parameters have a range of [-1000, 1000],
and the scroll
parameters have a range of [-100, 100].
Implementations§
Source§impl MouseRequest
impl MouseRequest
pub fn into_simulate_mouse_event( self, ) -> Option<(MouseSimulateMouseEventRequest, MouseSimulateMouseEventResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MouseRequest
impl !RefUnwindSafe for MouseRequest
impl Send for MouseRequest
impl Sync for MouseRequest
impl Unpin for MouseRequest
impl !UnwindSafe for MouseRequest
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