pub struct PaginationTheme {
pub spacing: f32,
pub active_bg: Color,
pub active_text: Color,
}Expand description
Visual parameters for the Pagination widget.
Fields§
§spacing: f32§active_bg: Color§active_text: ColorImplementations§
Source§impl PaginationTheme
impl PaginationTheme
pub fn from_tokens(tokens: &Tokens) -> Self
Trait Implementations§
Source§impl Clone for PaginationTheme
impl Clone for PaginationTheme
Source§fn clone(&self) -> PaginationTheme
fn clone(&self) -> PaginationTheme
Returns a duplicate 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 PaginationTheme
impl Debug for PaginationTheme
Source§impl<'de> Deserialize<'de> for PaginationTheme
impl<'de> Deserialize<'de> for PaginationTheme
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PaginationTheme
impl PartialEq for PaginationTheme
Source§impl Serialize for PaginationTheme
impl Serialize for PaginationTheme
impl StructuralPartialEq for PaginationTheme
Auto Trait Implementations§
impl Freeze for PaginationTheme
impl RefUnwindSafe for PaginationTheme
impl Send for PaginationTheme
impl Sync for PaginationTheme
impl Unpin for PaginationTheme
impl UnsafeUnpin for PaginationTheme
impl UnwindSafe for PaginationTheme
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