Struct pagino::Pagino[][src]

pub struct Pagino {
    pub show_first: bool,
    pub show_previous: bool,
    pub show_next: bool,
    pub show_last: bool,
    pub page: i32,
    pub count: i32,
    pub sibling_count: i32,
    pub boundary_count: i32,
}

Fields

show_first: boolshow_previous: boolshow_next: boolshow_last: boolpage: i32count: i32sibling_count: i32boundary_count: i32

Implementations

impl Pagino[src]

pub fn new(
    show_first: bool,
    show_previous: bool,
    show_next: bool,
    show_last: bool,
    page: i32,
    count: i32,
    sibling_count: i32,
    boundary_count: i32
) -> Pagino
[src]

pub fn set_count(&mut self, count: i32)[src]

pub fn set_page(&mut self, page: i32)[src]

pub fn first(&mut self)[src]

pub fn last(&mut self)[src]

pub fn next(&mut self)[src]

pub fn previous(&mut self)[src]

pub fn get_pages(&self) -> Vec<i32>[src]

Auto Trait Implementations

impl RefUnwindSafe for Pagino

impl Send for Pagino

impl Sync for Pagino

impl Unpin for Pagino

impl UnwindSafe for Pagino

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