pub struct ScrollParam {
pub scroll_x: i32,
pub scroll_y: i32,
pub x: i32,
pub y: i32,
}Available on crate feature
response-types only.Expand description
A scroll action.
Fields§
§scroll_x: i32The horizontal scroll distance.
scroll_y: i32The vertical scroll distance.
x: i32The x-coordinate where the scroll occurred.
y: i32The y-coordinate where the scroll occurred.
Trait Implementations§
Source§impl Clone for ScrollParam
impl Clone for ScrollParam
Source§fn clone(&self) -> ScrollParam
fn clone(&self) -> ScrollParam
Returns a duplicate of the value. Read more
1.0.0 · 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 ScrollParam
impl Debug for ScrollParam
Source§impl<'de> Deserialize<'de> for ScrollParam
impl<'de> Deserialize<'de> for ScrollParam
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
Source§impl PartialEq for ScrollParam
impl PartialEq for ScrollParam
Source§impl Serialize for ScrollParam
impl Serialize for ScrollParam
impl StructuralPartialEq for ScrollParam
Auto Trait Implementations§
impl Freeze for ScrollParam
impl RefUnwindSafe for ScrollParam
impl Send for ScrollParam
impl Sync for ScrollParam
impl Unpin for ScrollParam
impl UnsafeUnpin for ScrollParam
impl UnwindSafe for ScrollParam
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