pub struct ScrollActionResult {
pub dx: i32,
pub dy: i32,
}Expand description
Result of a Scroll action.
Fields§
§dx: i32§dy: i32Trait Implementations§
Source§impl Clone for ScrollActionResult
impl Clone for ScrollActionResult
Source§fn clone(&self) -> ScrollActionResult
fn clone(&self) -> ScrollActionResult
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 ScrollActionResult
impl Debug for ScrollActionResult
Source§impl<'de> Deserialize<'de> for ScrollActionResult
impl<'de> Deserialize<'de> for ScrollActionResult
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 ScrollActionResult
impl RefUnwindSafe for ScrollActionResult
impl Send for ScrollActionResult
impl Sync for ScrollActionResult
impl Unpin for ScrollActionResult
impl UnwindSafe for ScrollActionResult
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