pub struct ScrollerSurfaceState {
pub viewport_width: f64,
pub viewport_height: f64,
pub content_width: f64,
pub content_height: f64,
pub scroll_x: f64,
pub scroll_y: f64,
pub presentation_scroll_x: f64,
pub presentation_scroll_y: f64,
pub clip_content: bool,
}Expand description
Last-known scroll state for a native or browser-owned scroller surface.
Fields§
§viewport_width: f64§viewport_height: f64§content_width: f64§content_height: f64§scroll_x: f64§scroll_y: f64§presentation_scroll_x: f64§presentation_scroll_y: f64§clip_content: boolTrait Implementations§
Source§impl Clone for ScrollerSurfaceState
impl Clone for ScrollerSurfaceState
impl Copy for ScrollerSurfaceState
Source§impl Debug for ScrollerSurfaceState
impl Debug for ScrollerSurfaceState
Auto Trait Implementations§
impl Freeze for ScrollerSurfaceState
impl RefUnwindSafe for ScrollerSurfaceState
impl Send for ScrollerSurfaceState
impl Sync for ScrollerSurfaceState
impl Unpin for ScrollerSurfaceState
impl UnsafeUnpin for ScrollerSurfaceState
impl UnwindSafe for ScrollerSurfaceState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.