pub trait Scroller {
    fn get_scroller_mut(&mut self) -> &mut Core;
    fn get_scroller(&self) -> &Core;
}
Expand description

Describes an item with a scroll core.

This trait is used to represent “something that can scroll”. All it needs is an accessible core.

See the various methods in the scroll module.

Required Methods§

Returns a mutable access to the scroll core.

Returns an immutable access to the scroll core.

Implementors§