pub struct DatePickerDialogBuilder { /* private fields */ }Expand description
Configuration handle returned by date_picker_dialog.
Implementations§
Source§impl DatePickerDialogBuilder
impl DatePickerDialogBuilder
Sourcepub fn dialog(&self, value: DialogScope) -> Self
pub fn dialog(&self, value: DialogScope) -> Self
Configure dialog before this component executes.
Sourcepub fn dialog_optional(&self, value: Option<DialogScope>) -> Self
pub fn dialog_optional(&self, value: Option<DialogScope>) -> Self
Configure dialog before this component executes.
Sourcepub fn state(&self, value: State<DatePickerState>) -> Self
pub fn state(&self, value: State<DatePickerState>) -> Self
Configure state before this component executes.
Sourcepub fn state_optional(&self, value: Option<State<DatePickerState>>) -> Self
pub fn state_optional(&self, value: Option<State<DatePickerState>>) -> Self
Configure state before this component executes.
Sourcepub fn title(&self, value: impl Into<String>) -> Self
pub fn title(&self, value: impl Into<String>) -> Self
Configure title before this component executes.
Sourcepub fn title_optional(&self, value: Option<String>) -> Self
pub fn title_optional(&self, value: Option<String>) -> Self
Configure title before this component executes.
Configure confirm_button before this component executes.
Configure confirm_button before this component executes.
Configure confirm_button before this component executes.
Configure dismiss_button before this component executes.
Configure dismiss_button before this component executes.
Configure dismiss_button before this component executes.
Sourcepub fn picker_modifier(&self, value: Modifier) -> Self
pub fn picker_modifier(&self, value: Modifier) -> Self
Configure picker_modifier before this component executes.
Sourcepub fn picker_modifier_optional(&self, value: Option<Modifier>) -> Self
pub fn picker_modifier_optional(&self, value: Option<Modifier>) -> Self
Configure picker_modifier before this component executes.
Sourcepub fn picker_first_day_of_week(&self, value: Weekday) -> Self
pub fn picker_first_day_of_week(&self, value: Weekday) -> Self
Configure picker_first_day_of_week before this component executes.
Sourcepub fn picker_first_day_of_week_optional(&self, value: Option<Weekday>) -> Self
pub fn picker_first_day_of_week_optional(&self, value: Option<Weekday>) -> Self
Configure picker_first_day_of_week before this component executes.
Sourcepub fn picker_today(&self, value: CalendarDate) -> Self
pub fn picker_today(&self, value: CalendarDate) -> Self
Configure picker_today before this component executes.
Sourcepub fn picker_today_optional(&self, value: Option<CalendarDate>) -> Self
pub fn picker_today_optional(&self, value: Option<CalendarDate>) -> Self
Configure picker_today before this component executes.
Sourcepub fn picker_show_weekday_labels(&self, value: bool) -> Self
pub fn picker_show_weekday_labels(&self, value: bool) -> Self
Configure picker_show_weekday_labels before this component executes.
Sourcepub fn picker_show_weekday_labels_optional(&self, value: Option<bool>) -> Self
pub fn picker_show_weekday_labels_optional(&self, value: Option<bool>) -> Self
Configure picker_show_weekday_labels before this component executes.
Sourcepub fn picker_show_mode_toggle(&self, value: bool) -> Self
pub fn picker_show_mode_toggle(&self, value: bool) -> Self
Configure picker_show_mode_toggle before this component executes.
Sourcepub fn picker_show_mode_toggle_optional(&self, value: Option<bool>) -> Self
pub fn picker_show_mode_toggle_optional(&self, value: Option<bool>) -> Self
Configure picker_show_mode_toggle before this component executes.
Sourcepub fn picker_title(&self, value: impl Into<String>) -> Self
pub fn picker_title(&self, value: impl Into<String>) -> Self
Configure picker_title before this component executes.
Sourcepub fn picker_title_optional(&self, value: Option<String>) -> Self
pub fn picker_title_optional(&self, value: Option<String>) -> Self
Configure picker_title before this component executes.
Sourcepub fn picker_headline(&self, value: impl Into<String>) -> Self
pub fn picker_headline(&self, value: impl Into<String>) -> Self
Configure picker_headline before this component executes.
Sourcepub fn picker_headline_optional(&self, value: Option<String>) -> Self
pub fn picker_headline_optional(&self, value: Option<String>) -> Self
Configure picker_headline before this component executes.
Sourcepub fn picker_view(&self, value: State<DatePickerView>) -> Self
pub fn picker_view(&self, value: State<DatePickerView>) -> Self
Configure picker_view before this component executes.
Sourcepub fn picker_view_optional(&self, value: Option<State<DatePickerView>>) -> Self
pub fn picker_view_optional(&self, value: Option<State<DatePickerView>>) -> Self
Configure picker_view before this component executes.
Sourcepub fn picker_focus_requester(&self, value: FocusRequester) -> Self
pub fn picker_focus_requester(&self, value: FocusRequester) -> Self
Configure picker_focus_requester before this component executes.
Sourcepub fn picker_focus_requester_optional(
&self,
value: Option<FocusRequester>,
) -> Self
pub fn picker_focus_requester_optional( &self, value: Option<FocusRequester>, ) -> Self
Configure picker_focus_requester before this component executes.
Auto Trait Implementations§
impl Freeze for DatePickerDialogBuilder
impl RefUnwindSafe for DatePickerDialogBuilder
impl Send for DatePickerDialogBuilder
impl Sync for DatePickerDialogBuilder
impl Unpin for DatePickerDialogBuilder
impl UnsafeUnpin for DatePickerDialogBuilder
impl UnwindSafe for DatePickerDialogBuilder
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.