[−][src]Struct paginator::Paginator
Implementations
impl Paginator
[src]
pub const fn total_pages(&self) -> usize
[src]
pub const fn current_page(&self) -> usize
[src]
pub const fn max_item_count(&self) -> usize
[src]
pub const fn start_size(&self) -> usize
[src]
pub const fn end_size(&self) -> usize
[src]
pub const fn has_prev(&self) -> YesNoDepends
[src]
pub const fn has_next(&self) -> YesNoDepends
[src]
impl Paginator
[src]
impl Paginator
[src]
pub fn builder(total_pages: usize) -> PaginatorBuilder
[src]
An alias of PaginatorBuilder::new
.
impl Paginator
[src]
pub fn iter(&self) -> PaginatorIterⓘNotable traits for PaginatorIter
impl Iterator for PaginatorIter type Item = Paginator;
[src]
Notable traits for PaginatorIter
impl Iterator for PaginatorIter type Item = Paginator;
Trait Implementations
impl Clone for Paginator
[src]
impl Debug for Paginator
[src]
impl Eq for Paginator
[src]
impl IntoIterator for Paginator
[src]
type IntoIter = PaginatorIter
Which kind of iterator are we turning this into?
type Item = Paginator
The type of the elements being iterated over.
pub fn into_iter(self) -> Self::IntoIter
[src]
impl PartialEq<Paginator> for Paginator
[src]
impl StructuralEq for Paginator
[src]
impl StructuralPartialEq for Paginator
[src]
Auto Trait Implementations
impl RefUnwindSafe for Paginator
[src]
impl Send for Paginator
[src]
impl Sync for Paginator
[src]
impl Unpin for Paginator
[src]
impl UnwindSafe for Paginator
[src]
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,