pub struct FrameScrollInfo {
pub had_scroll_activity: bool,
pub had_programmatic_scroll: bool,
pub had_new_doms: bool,
}Expand description
Summary of scroll-related events that occurred during a frame
Fields§
§had_scroll_activity: boolWhether any scroll input occurred this frame
had_programmatic_scroll: boolWhether programmatic scroll (scrollTo) occurred
had_new_doms: boolWhether new scrollable DOMs were added
Trait Implementations§
Source§impl Clone for FrameScrollInfo
impl Clone for FrameScrollInfo
Source§fn clone(&self) -> FrameScrollInfo
fn clone(&self) -> FrameScrollInfo
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 FrameScrollInfo
impl Debug for FrameScrollInfo
Source§impl Default for FrameScrollInfo
impl Default for FrameScrollInfo
Source§fn default() -> FrameScrollInfo
fn default() -> FrameScrollInfo
Returns the “default value” for a type. Read more
impl Copy for FrameScrollInfo
Auto Trait Implementations§
impl Freeze for FrameScrollInfo
impl RefUnwindSafe for FrameScrollInfo
impl Send for FrameScrollInfo
impl Sync for FrameScrollInfo
impl Unpin for FrameScrollInfo
impl UnwindSafe for FrameScrollInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more