#[repr(C)]pub struct ScrollerPositionInterruptArgs {
pub id: u32,
pub scroll_x: f64,
pub scroll_y: f64,
pub presentation_scroll_x: Option<f64>,
pub presentation_scroll_y: Option<f64>,
}Expand description
Native scroller position payload, including optional presentation offsets.
Fields§
§id: u32§scroll_x: f64§scroll_y: f64§presentation_scroll_x: Option<f64>§presentation_scroll_y: Option<f64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScrollerPositionInterruptArgs
impl<'de> Deserialize<'de> for ScrollerPositionInterruptArgs
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 ScrollerPositionInterruptArgs
impl RefUnwindSafe for ScrollerPositionInterruptArgs
impl Send for ScrollerPositionInterruptArgs
impl Sync for ScrollerPositionInterruptArgs
impl Unpin for ScrollerPositionInterruptArgs
impl UnsafeUnpin for ScrollerPositionInterruptArgs
impl UnwindSafe for ScrollerPositionInterruptArgs
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