fn send_mouse_message(
    movement_x: i64,
    movement_y: i64,
    phase: fidl_fuchsia_ui_input::PointerEventPhase,
    buttons: u32,
    sender: &mut Sender<input_device::InputMessage>,
) {
    match sender.try_send(input_device::InputMessage::Mouse({
        MouseInputMessage { movement_x, movement_y, phase, buttons }
    })) {
        Err(e) => fx_log_info!("Failed to send MouseInputMessage with error: {:?}", e),
        _ => {}
    }
}
/// Sends a MouseInputMessage over `sender`.
///
/// # Parameters
/// - `movement_x`: The movement in the x axis.
/// - `movement_y`: The movement in the y axis.
/// - `phase`: The phase of the [`buttons`] associated with the input message.
/// - `buttons`: The buttons relevant to the message represented as flipped bits.
/// - `sender`: The stream to send the MouseInputMessage to.
Sends a MouseInputMessage over `sender`.
Sends a MouseInputMessage over ` sender ` .
fn send_mouse_message(
    movement_x: i64,
    movement_y: i64,
    phase: fidl_fuchsia_ui_input::PointerEventPhase,
    buttons: u32,
    sender: &mut Sender<input_device::InputMessage>,
) {
    match sender.try_send(input_device::InputMessage::Mouse({
        MouseInputMessage { movement_x, movement_y, phase, buttons }
    })) {
        Err(e) => fx_log_info!("Failed to send MouseInputMessage with error: {:?}", e),
        _ => {}
    }
}
fn send_mouse_message ( movement_x : i64 , movement_y : i64 , phase : fidl_fuchsia_ui_input :: PointerEventPhase , buttons : u32 , sender : & mut Sender < input_device :: InputMessage > , ) { match sender . try_send ( input_device :: InputMessage :: Mouse ( { MouseInputMessage { movement_x , movement_y , phase , buttons } } ) ) { Err ( e ) => fx_log_info ! ( " " e ) , _ => { } } }
Sends a MouseInputMessage over `sender`.
Sends a MouseInputMessage over ` sender ` .
movement_x
i64
The movement in the x axis.
The movement in the x axis .
movement_y
i64
The movement in the y axis.
The movement in the y axis .
phase
fidl_fuchsia_ui_input::PointerEventPhase
The phase of the [`buttons`] associated with the input message.
The phase of the [ ` buttons ` ] associated with the input message .
buttons
u32
The buttons relevant to the message represented as flipped bits.
The buttons relevant to the message represented as flipped bits .
sender
&mut Sender<input_device::InputMessage>
The stream to send the MouseInputMessage to.
The stream to send the MouseInputMessage to .