#[non_exhaustive]pub struct SlicePage<'i, T> { /* private fields */ }
Implementations
Methods from Deref<Target = Page>
pub fn is_first_page(&self) -> bool
pub fn is_last_page(&self) -> bool
pub fn next_page(&self) -> Option<Self>
pub fn prev_page(&self) -> Option<Self>
pub fn page_value(&self) -> NonZeroUsize
pub fn limit_value(&self) -> NonZeroUsize
pub fn offset_value(&self) -> usize
pub fn offset_range(&self) -> Range<usize>
Methods from Deref<Target = Paginator>
Trait Implementations
impl<'i, T: Copy> Copy for SlicePage<'i, T>
impl<'i, T: Eq> Eq for SlicePage<'i, T>
impl<'i, T> StructuralEq for SlicePage<'i, T>
impl<'i, T> StructuralPartialEq for SlicePage<'i, T>
Auto Trait Implementations
impl<'i, T> RefUnwindSafe for SlicePage<'i, T> where
T: RefUnwindSafe,
impl<'i, T> Send for SlicePage<'i, T> where
T: Sync,
impl<'i, T> Sync for SlicePage<'i, T> where
T: Sync,
impl<'i, T> Unpin for SlicePage<'i, T>
impl<'i, T> UnwindSafe for SlicePage<'i, T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more