pub struct ScrollOptions {
pub behavior: ScrollBehavior,
pub verify: bool,
pub verification_timeout: Duration,
pub verification_retry_interval: Duration,
pub threshold_percent: f64,
pub wait_after_scroll: Duration,
}Expand description
Options for scroll operations.
Fields§
§behavior: ScrollBehaviorThe scroll behavior (smooth or instant).
verify: boolWhether to verify the scroll operation.
verification_timeout: DurationTimeout for verification.
verification_retry_interval: DurationInterval between verification retries.
threshold_percent: f64Threshold percentage for determining if scroll is needed.
wait_after_scroll: DurationWait time after scroll for animation to complete.
Trait Implementations§
Source§impl Clone for ScrollOptions
impl Clone for ScrollOptions
Source§fn clone(&self) -> ScrollOptions
fn clone(&self) -> ScrollOptions
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 ScrollOptions
impl Debug for ScrollOptions
Auto Trait Implementations§
impl Freeze for ScrollOptions
impl RefUnwindSafe for ScrollOptions
impl Send for ScrollOptions
impl Sync for ScrollOptions
impl Unpin for ScrollOptions
impl UnwindSafe for ScrollOptions
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