[][src]Trait unsegen::input::Scrollable

pub trait Scrollable {
    fn scroll_backwards(&mut self) -> OperationResult;
fn scroll_forwards(&mut self) -> OperationResult; fn scroll_to_beginning(&mut self) -> OperationResult { ... }
fn scroll_to_end(&mut self) -> OperationResult { ... } }

Something that can be scrolled. Use in conjunction with ScrollBehavior to manipulate when input arrives.

Note that scroll_to_beginning and scroll_to_end should be implemented manually if a fast pass is available and performance is important. By default these functions call scroll_backwards and scroll_forwards respectively until they fail.

Required methods

Loading content...

Provided methods

Loading content...

Implementors

Loading content...