pub struct ActionClick {
pub button: ActionClickButton,
pub type_: String,
pub x: i64,
pub y: i64,
}Expand description
A click action.
Fields§
Indicates which mouse button was pressed during the click.
type_: StringSpecifies the event type. For a click action, this property is always click.
x: i64The x-coordinate where the click occurred.
y: i64The y-coordinate where the click occurred.
Trait Implementations§
Source§impl Clone for ActionClick
impl Clone for ActionClick
Source§fn clone(&self) -> ActionClick
fn clone(&self) -> ActionClick
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionClick
impl Debug for ActionClick
Source§impl<'de> Deserialize<'de> for ActionClick
impl<'de> Deserialize<'de> for ActionClick
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ActionClick
impl RefUnwindSafe for ActionClick
impl Send for ActionClick
impl Sync for ActionClick
impl Unpin for ActionClick
impl UnsafeUnpin for ActionClick
impl UnwindSafe for ActionClick
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