Skip to main content

TimePickerBuilder

Trait TimePickerBuilder 

Source
pub trait TimePickerBuilder: Sized {
    // Required methods
    fn compact(self) -> Self;
    fn inline(self) -> Self;
    fn style(self, style: Style) -> Self;
    fn min(self, min: DayDate) -> Self;
    fn max(self, max: DayDate) -> Self;
}
Expand description

Builder methods of DatePicker, reachable through a Decorated (docs/api-style.md “Typed builders and erasure”): generic modifiers and typed ones chain in any order.

Required Methods§

Source

fn compact(self) -> Self

Source

fn inline(self) -> Self

Source

fn style(self, style: Style) -> Self

Source

fn min(self, min: DayDate) -> Self

Earliest selectable date (inclusive). Native where the control supports it; picks are clamped in the piece regardless.

Source

fn max(self, max: DayDate) -> Self

Latest selectable date (inclusive).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<DecoratedInner> TimePickerBuilder for Decorated<DecoratedInner>
where DecoratedInner: TimePickerBuilder + Piece,

Source§

impl<S> TimePickerBuilder for DatePicker<S>
where S: Binding<DayDate>,