pub struct CommandMouseUp(/* private fields */);Expand description
_mouse_up command — Sent whenever a mouse button is released.
Implementations§
Source§impl CommandMouseUp
impl CommandMouseUp
Sourcepub fn picture_x(&self) -> i32
pub fn picture_x(&self) -> i32
x position of the mouse relative to displayed camera feed (0 = left)
Sourcepub fn picture_y(&self) -> i32
pub fn picture_y(&self) -> i32
y position of the mouse relative to displayed camera feed (0 = top)
Mouse button that was released
Currently the buttons are ‘L’ for Left, ‘M’ for Middle, ‘R’ for Right, ‘X’ for X1, and ‘Y’ for X2.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandMouseUp
impl RefUnwindSafe for CommandMouseUp
impl Send for CommandMouseUp
impl Sync for CommandMouseUp
impl Unpin for CommandMouseUp
impl UnsafeUnpin for CommandMouseUp
impl UnwindSafe for CommandMouseUp
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