Struct ybc::PaginationProps
source · pub struct PaginationProps {
pub children: Children,
pub classes: Classes,
pub size: Option<Size>,
pub alignment: Option<Alignment>,
pub rounded: bool,
pub previous: Html,
pub next: Html,
}
Fields§
§children: Children
The child li
, pagination-link
& pagination-ellipsis
elements for pagination.
classes: Classes
§size: Option<Size>
The size of this component.
alignment: Option<Alignment>
The alignment of this component.
rounded: bool
Make the pagination elements rounded.
previous: Html
The pagination-previous
element to use.
next: Html
The pagination-next
element to use.
Trait Implementations§
source§impl Clone for PaginationProps
impl Clone for PaginationProps
source§fn clone(&self) -> PaginationProps
fn clone(&self) -> PaginationProps
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 PaginationProps
impl Debug for PaginationProps
source§impl PartialEq<PaginationProps> for PaginationProps
impl PartialEq<PaginationProps> for PaginationProps
source§fn eq(&self, other: &PaginationProps) -> bool
fn eq(&self, other: &PaginationProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for PaginationProps
impl Properties for PaginationProps
impl StructuralPartialEq for PaginationProps
Auto Trait Implementations§
impl !RefUnwindSafe for PaginationProps
impl !Send for PaginationProps
impl !Sync for PaginationProps
impl Unpin for PaginationProps
impl !UnwindSafe for PaginationProps
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<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.