pub enum ClickScroll {
Auto,
Preserve,
None,
}Expand description
What the click is allowed to do to the scroll position.
Variants§
Auto
Let the engine scroll the element into view (default).
Preserve
Allow scrolling, then restore the original scroll position.
None
Never scroll; fail if the click cannot be delivered without scrolling.
Trait Implementations§
Source§impl Clone for ClickScroll
impl Clone for ClickScroll
impl Copy for ClickScroll
Source§impl Debug for ClickScroll
impl Debug for ClickScroll
Source§impl Default for ClickScroll
impl Default for ClickScroll
Source§impl Display for ClickScroll
impl Display for ClickScroll
impl Eq for ClickScroll
Source§impl PartialEq for ClickScroll
impl PartialEq for ClickScroll
impl StructuralPartialEq for ClickScroll
Auto Trait Implementations§
impl Freeze for ClickScroll
impl RefUnwindSafe for ClickScroll
impl Send for ClickScroll
impl Sync for ClickScroll
impl Unpin for ClickScroll
impl UnsafeUnpin for ClickScroll
impl UnwindSafe for ClickScroll
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