pub struct LiquidThemeSpec {
pub scheme: SchemeMode,
pub accent: Color,
pub typography: LiquidTypography,
}Expand description
Theme configuration passed to LiquidTheme.
Fields§
§scheme: SchemeMode§accent: ColorAccent color (iOS system blue by default).
typography: LiquidTypographyTrait Implementations§
Source§impl Clone for LiquidThemeSpec
impl Clone for LiquidThemeSpec
Source§fn clone(&self) -> LiquidThemeSpec
fn clone(&self) -> LiquidThemeSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LiquidThemeSpec
impl Debug for LiquidThemeSpec
Source§impl Default for LiquidThemeSpec
impl Default for LiquidThemeSpec
Source§impl PartialEq for LiquidThemeSpec
impl PartialEq for LiquidThemeSpec
impl StructuralPartialEq for LiquidThemeSpec
Auto Trait Implementations§
impl Freeze for LiquidThemeSpec
impl RefUnwindSafe for LiquidThemeSpec
impl Send for LiquidThemeSpec
impl Sync for LiquidThemeSpec
impl Unpin for LiquidThemeSpec
impl UnsafeUnpin for LiquidThemeSpec
impl UnwindSafe for LiquidThemeSpec
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