pub struct InputScrollParams {
pub x: f64,
pub y: f64,
pub dx: f64,
pub dy: f64,
}Expand description
input_scroll request params (logical px; dx/dy are the scroll
delta, same convention as a wheel/drag event elsewhere in the
framework).
Fields§
§x: f64§y: f64§dx: f64§dy: f64Trait Implementations§
Source§impl Clone for InputScrollParams
impl Clone for InputScrollParams
impl Copy for InputScrollParams
Source§impl Debug for InputScrollParams
impl Debug for InputScrollParams
Source§impl<'de> Deserialize<'de> for InputScrollParams
impl<'de> Deserialize<'de> for InputScrollParams
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 InputScrollParams
impl PartialEq for InputScrollParams
Source§impl Serialize for InputScrollParams
impl Serialize for InputScrollParams
impl StructuralPartialEq for InputScrollParams
Auto Trait Implementations§
impl Freeze for InputScrollParams
impl RefUnwindSafe for InputScrollParams
impl Send for InputScrollParams
impl Sync for InputScrollParams
impl Unpin for InputScrollParams
impl UnsafeUnpin for InputScrollParams
impl UnwindSafe for InputScrollParams
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