[][src]Struct chargrid_decorator::VerticalScrollState

pub struct VerticalScrollState { /* fields omitted */ }

Methods

impl VerticalScrollState[src]

pub fn new() -> Self[src]

pub fn scroll_to(&mut self, scroll_position: u32, limits: VerticalScrollLimits)[src]

pub fn scroll_up_lines(&mut self, num_lines: u32, limits: VerticalScrollLimits)[src]

pub fn scroll_down_lines(
    &mut self,
    num_lines: u32,
    limits: VerticalScrollLimits
)
[src]

pub fn scroll_lines(&mut self, num_lines: i32, limits: VerticalScrollLimits)[src]

pub fn scroll_up_line(&mut self, limits: VerticalScrollLimits)[src]

pub fn scroll_down_line(&mut self, limits: VerticalScrollLimits)[src]

pub fn scroll_up_page(&mut self, limits: VerticalScrollLimits)[src]

pub fn scroll_down_page(&mut self, limits: VerticalScrollLimits)[src]

pub fn scroll_to_top(&mut self, limits: VerticalScrollLimits)[src]

pub fn scroll_to_bottom(&mut self, limits: VerticalScrollLimits)[src]

pub fn scroll_position(self) -> u32[src]

Trait Implementations

impl Clone for VerticalScrollState[src]

impl Copy for VerticalScrollState[src]

impl Debug for VerticalScrollState[src]

impl Default for VerticalScrollState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.