pub struct DatePickerDefaults;Expand description
Default values for date picker.
Implementations§
Source§impl DatePickerDefaults
impl DatePickerDefaults
pub const CONTAINER_WIDTH: f32 = 360.0
pub const CONTAINER_HEIGHT: f32 = 568.0
pub const HEADER_CONTAINER_HEIGHT: f32 = 120.0
pub const DATE_CELL_SIZE: f32 = 40.0
pub const YEAR_CELL_HEIGHT: f32 = 36.0
pub const YEAR_CELL_WIDTH: f32 = 72.0
pub const TODAY_BORDER_WIDTH: f32 = 1.0
pub const HORIZONTAL_PADDING: f32 = 12.0
pub fn container_color() -> Color
pub fn header_color() -> Color
pub fn weekday_color() -> Color
pub fn day_color() -> Color
pub fn selected_day_color() -> Color
pub fn selected_day_container_color() -> Color
pub fn today_content_color() -> Color
pub fn today_border_color() -> Color
pub fn year_selected_container_color() -> Color
pub fn year_selected_content_color() -> Color
pub fn year_unselected_content_color() -> Color
Auto Trait Implementations§
impl Freeze for DatePickerDefaults
impl RefUnwindSafe for DatePickerDefaults
impl Send for DatePickerDefaults
impl Sync for DatePickerDefaults
impl Unpin for DatePickerDefaults
impl UnsafeUnpin for DatePickerDefaults
impl UnwindSafe for DatePickerDefaults
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