pub struct CalendarTheme {
pub bg_color: Color,
pub border_color: Color,
pub radius: f32,
pub selected_bg: Color,
pub selected_text: Color,
pub today_outline: Color,
}Expand description
Visual parameters for the Calendar widget.
Fields§
§bg_color: Color§border_color: Color§radius: f32§selected_bg: Color§selected_text: Color§today_outline: ColorImplementations§
Source§impl CalendarTheme
impl CalendarTheme
pub fn from_tokens(tokens: &Tokens) -> Self
Trait Implementations§
Source§impl Clone for CalendarTheme
impl Clone for CalendarTheme
Source§fn clone(&self) -> CalendarTheme
fn clone(&self) -> CalendarTheme
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 CalendarTheme
impl Debug for CalendarTheme
Source§impl<'de> Deserialize<'de> for CalendarTheme
impl<'de> Deserialize<'de> for CalendarTheme
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 CalendarTheme
impl PartialEq for CalendarTheme
Source§impl Serialize for CalendarTheme
impl Serialize for CalendarTheme
impl StructuralPartialEq for CalendarTheme
Auto Trait Implementations§
impl Freeze for CalendarTheme
impl RefUnwindSafe for CalendarTheme
impl Send for CalendarTheme
impl Sync for CalendarTheme
impl Unpin for CalendarTheme
impl UnsafeUnpin for CalendarTheme
impl UnwindSafe for CalendarTheme
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