Struct pagino::Pagino [−][src]
Fields
show_first: bool
show_previous: bool
show_next: bool
show_last: bool
page: i32
count: i32
sibling_count: i32
boundary_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]
show_first: bool,
show_previous: bool,
show_next: bool,
show_last: bool,
page: i32,
count: i32,
sibling_count: i32,
boundary_count: i32
) -> Pagino
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,