pub struct ActionScroll {
pub scroll_x: i64,
pub scroll_y: i64,
pub type_: String,
pub x: i64,
pub y: i64,
}Expand description
A scroll action.
Fields§
§scroll_x: i64The horizontal scroll distance.
scroll_y: i64The vertical scroll distance.
type_: StringSpecifies the event type.
x: i64The x-coordinate where the scroll occurred.
y: i64The y-coordinate where the scroll occurred.
Trait Implementations§
Source§impl Clone for ActionScroll
impl Clone for ActionScroll
Source§fn clone(&self) -> ActionScroll
fn clone(&self) -> ActionScroll
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 ActionScroll
impl Debug for ActionScroll
Source§impl<'de> Deserialize<'de> for ActionScroll
impl<'de> Deserialize<'de> for ActionScroll
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 ActionScroll
impl RefUnwindSafe for ActionScroll
impl Send for ActionScroll
impl Sync for ActionScroll
impl Unpin for ActionScroll
impl UnsafeUnpin for ActionScroll
impl UnwindSafe for ActionScroll
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