pub struct MoveParam {
pub x: i32,
pub y: i32,
}Expand description
A mouse move action.
Fields§
§x: i32The x-coordinate to move to.
y: i32The y-coordinate to move to.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MoveParam
impl<'de> Deserialize<'de> for MoveParam
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MoveParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MoveParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MoveParam
impl Serialize for MoveParam
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MoveParam
Auto Trait Implementations§
impl Freeze for MoveParam
impl RefUnwindSafe for MoveParam
impl Send for MoveParam
impl Sync for MoveParam
impl Unpin for MoveParam
impl UnsafeUnpin for MoveParam
impl UnwindSafe for MoveParam
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