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

pub trait Scroller {
    pub fn get_scroller_mut(&mut self) -> &mut Core;
pub 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

pub fn get_scroller_mut(&mut self) -> &mut Core[src]

Returns a mutable access to the scroll core.

pub fn get_scroller(&self) -> &Core[src]

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...