pub struct DatePickerColors {Show 25 fields
pub container: Option<Hsla>,
pub title: Option<Hsla>,
pub headline: Option<Hsla>,
pub weekday: Option<Hsla>,
pub subheading: Option<Hsla>,
pub navigation: Option<Hsla>,
pub year: Option<Hsla>,
pub current_year: Option<Hsla>,
pub disabled_year: Option<Hsla>,
pub selected_year: Option<Hsla>,
pub selected_year_container: Option<Hsla>,
pub disabled_selected_year: Option<Hsla>,
pub disabled_selected_year_container: Option<Hsla>,
pub day: Option<Hsla>,
pub disabled_day: Option<Hsla>,
pub selected_day: Option<Hsla>,
pub selected_day_container: Option<Hsla>,
pub disabled_selected_day: Option<Hsla>,
pub disabled_selected_day_container: Option<Hsla>,
pub today: Option<Hsla>,
pub today_outline: Option<Hsla>,
pub range_day: Option<Hsla>,
pub range_container: Option<Hsla>,
pub focus_outline: Option<Hsla>,
pub input: Option<TextFieldColors>,
}Expand description
Local date picker and editor colors. Unset values use the active Material theme.
Fields§
§container: Option<Hsla>Background color of the picker surface or dialog container.
title: Option<Hsla>Text color of the picker title.
headline: Option<Hsla>Text color of the selected-date headline.
weekday: Option<Hsla>Text color of weekday column headers.
subheading: Option<Hsla>Text color of month and year subheadings.
Icon and label color of month/year navigation controls.
year: Option<Hsla>Text color of unselected year items.
current_year: Option<Hsla>Text color of the current calendar year item.
disabled_year: Option<Hsla>Text color of disabled year items.
selected_year: Option<Hsla>Text color of the selected year item.
selected_year_container: Option<Hsla>Container fill color behind the selected year item.
disabled_selected_year: Option<Hsla>Text color of a selected year item that is disabled.
disabled_selected_year_container: Option<Hsla>Container fill color behind a disabled selected year item.
day: Option<Hsla>Text color of unselected enabled day cells.
disabled_day: Option<Hsla>Text color of disabled day cells.
selected_day: Option<Hsla>Text color of selected day endpoints.
selected_day_container: Option<Hsla>Container fill color behind selected day endpoints.
disabled_selected_day: Option<Hsla>Text color of a selected day that is disabled.
disabled_selected_day_container: Option<Hsla>Container fill color behind a disabled selected day.
today: Option<Hsla>Text color of today’s date when not selected.
today_outline: Option<Hsla>Outline color drawn around today’s date.
range_day: Option<Hsla>Text color of intermediate days inside a selected range.
range_container: Option<Hsla>Background fill color connecting intermediate days in a selected range.
focus_outline: Option<Hsla>Focus ring outline color for keyboard navigation.
input: Option<TextFieldColors>Color overrides applied to the date text input fields.
Trait Implementations§
Source§impl Clone for DatePickerColors
impl Clone for DatePickerColors
Source§fn clone(&self) -> DatePickerColors
fn clone(&self) -> DatePickerColors
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DatePickerColors
Source§impl Debug for DatePickerColors
impl Debug for DatePickerColors
Source§impl Default for DatePickerColors
impl Default for DatePickerColors
Source§fn default() -> DatePickerColors
fn default() -> DatePickerColors
Auto Trait Implementations§
impl Forget for DatePickerColors
impl Freeze for DatePickerColors
impl Move for DatePickerColors
impl RefUnwindSafe for DatePickerColors
impl Send for DatePickerColors
impl Sync for DatePickerColors
impl Unpin for DatePickerColors
impl UnsafeUnpin for DatePickerColors
impl UnwindSafe for DatePickerColors
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().