Skip to main content

ScrollExt

Trait ScrollExt 

Source
pub trait ScrollExt {
    // Required method
    fn scroll(self) -> Scroll;
}
Expand description

A trait that adds a scroll method to any type that implements IntoView.

Required Methods§

Source

fn scroll(self) -> Scroll

Wrap the view in a scroll view.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> ScrollExt for T
where T: IntoView + 'static,