#[non_exhaustive]pub struct DateTimePickerControlDisplayOptionsBuilder { /* private fields */ }Expand description
A builder for DateTimePickerControlDisplayOptions.
Implementations§
source§impl DateTimePickerControlDisplayOptionsBuilder
impl DateTimePickerControlDisplayOptionsBuilder
sourcepub fn title_options(self, input: LabelOptions) -> Self
pub fn title_options(self, input: LabelOptions) -> Self
The options to configure the title visibility, name, and font size.
sourcepub fn set_title_options(self, input: Option<LabelOptions>) -> Self
pub fn set_title_options(self, input: Option<LabelOptions>) -> Self
The options to configure the title visibility, name, and font size.
sourcepub fn date_time_format(self, input: impl Into<String>) -> Self
pub fn date_time_format(self, input: impl Into<String>) -> Self
Customize how dates are formatted in controls.
sourcepub fn set_date_time_format(self, input: Option<String>) -> Self
pub fn set_date_time_format(self, input: Option<String>) -> Self
Customize how dates are formatted in controls.
sourcepub fn build(self) -> DateTimePickerControlDisplayOptions
pub fn build(self) -> DateTimePickerControlDisplayOptions
Consumes the builder and constructs a DateTimePickerControlDisplayOptions.
Trait Implementations§
source§impl Clone for DateTimePickerControlDisplayOptionsBuilder
impl Clone for DateTimePickerControlDisplayOptionsBuilder
source§fn clone(&self) -> DateTimePickerControlDisplayOptionsBuilder
fn clone(&self) -> DateTimePickerControlDisplayOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DateTimePickerControlDisplayOptionsBuilder
impl Default for DateTimePickerControlDisplayOptionsBuilder
source§fn default() -> DateTimePickerControlDisplayOptionsBuilder
fn default() -> DateTimePickerControlDisplayOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DateTimePickerControlDisplayOptionsBuilder> for DateTimePickerControlDisplayOptionsBuilder
impl PartialEq<DateTimePickerControlDisplayOptionsBuilder> for DateTimePickerControlDisplayOptionsBuilder
source§fn eq(&self, other: &DateTimePickerControlDisplayOptionsBuilder) -> bool
fn eq(&self, other: &DateTimePickerControlDisplayOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.