[][src]Trait cursive::view::scroll::Scroller

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

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

fn get_scroller_mut(&mut self) -> &mut Core

Returns a mutable access to the scroll core.

fn get_scroller(&self) -> &Core

Returns an immutable access to the scroll core.

Loading content...

Implementors

impl Scroller for MenuPopup[src]

impl<V> Scroller for ScrollView<V>[src]

Loading content...