pub struct TimePickerDefaults;Expand description
Default values for time picker.
Implementations§
Source§impl TimePickerDefaults
impl TimePickerDefaults
pub const CLOCK_DIAL_CONTAINER_SIZE: f32 = 256.0
pub const CLOCK_DIAL_MIN_CONTAINER_SIZE: f32 = 200.0
pub const PERIOD_SELECTOR_HORIZONTAL_WIDTH: f32 = 216.0
pub const PERIOD_SELECTOR_HORIZONTAL_HEIGHT: f32 = 38.0
pub const PERIOD_SELECTOR_VERTICAL_WIDTH: f32 = 52.0
pub const PERIOD_SELECTOR_VERTICAL_HEIGHT: f32 = 80.0
pub const TIME_SELECTOR_CONTAINER_WIDTH: f32 = 96.0
pub const TIME_SELECTOR_CONTAINER_HEIGHT: f32 = 80.0
pub const TIME_SELECTOR_24H_WIDTH: f32 = 114.0
pub const MAX_HEIGHT: f32 = 384.0
pub fn clock_dial_color() -> Color
pub fn clock_dial_selected_content_color() -> Color
pub fn clock_dial_unselected_content_color() -> Color
pub fn selector_color() -> Color
pub fn container_color() -> Color
pub fn period_selector_selected_container_color() -> Color
pub fn period_selector_unselected_container_color() -> Color
pub fn period_selector_selected_content_color() -> Color
pub fn period_selector_unselected_content_color() -> Color
pub fn period_selector_border_color() -> Color
pub fn time_selector_selected_container_color() -> Color
pub fn time_selector_selected_content_color() -> Color
pub fn time_selector_unselected_container_color() -> Color
pub fn time_selector_unselected_content_color() -> Color
pub fn time_selector_separator_color() -> Color
Auto Trait Implementations§
impl Freeze for TimePickerDefaults
impl RefUnwindSafe for TimePickerDefaults
impl Send for TimePickerDefaults
impl Sync for TimePickerDefaults
impl Unpin for TimePickerDefaults
impl UnsafeUnpin for TimePickerDefaults
impl UnwindSafe for TimePickerDefaults
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