Enum ybc::PaginationItemType
source · pub enum PaginationItemType {
Link,
Next,
Previous,
}
Expand description
A pagination item type.
Variants§
Link
A pagination link for a specific page number.
Next
A pagination button for the next page.
Previous
A pagination button for the previous page.
Trait Implementations§
source§impl Clone for PaginationItemType
impl Clone for PaginationItemType
source§fn clone(&self) -> PaginationItemType
fn clone(&self) -> PaginationItemType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PaginationItemType
impl Debug for PaginationItemType
source§impl Display for PaginationItemType
impl Display for PaginationItemType
source§impl PartialEq<PaginationItemType> for PaginationItemType
impl PartialEq<PaginationItemType> for PaginationItemType
source§fn eq(&self, other: &PaginationItemType) -> bool
fn eq(&self, other: &PaginationItemType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PaginationItemType
impl StructuralEq for PaginationItemType
impl StructuralPartialEq for PaginationItemType
Auto Trait Implementations§
impl RefUnwindSafe for PaginationItemType
impl Send for PaginationItemType
impl Sync for PaginationItemType
impl Unpin for PaginationItemType
impl UnwindSafe for PaginationItemType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.