#[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 get_title_options(&self) -> &Option<LabelOptions>
pub fn get_title_options(&self) -> &Option<LabelOptions>
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 get_date_time_format(&self) -> &Option<String>
pub fn get_date_time_format(&self) -> &Option<String>
Customize how dates are formatted in controls.
sourcepub fn info_icon_label_options(
self,
input: SheetControlInfoIconLabelOptions,
) -> Self
pub fn info_icon_label_options( self, input: SheetControlInfoIconLabelOptions, ) -> Self
The configuration of info icon label options.
sourcepub fn set_info_icon_label_options(
self,
input: Option<SheetControlInfoIconLabelOptions>,
) -> Self
pub fn set_info_icon_label_options( self, input: Option<SheetControlInfoIconLabelOptions>, ) -> Self
The configuration of info icon label options.
sourcepub fn get_info_icon_label_options(
&self,
) -> &Option<SheetControlInfoIconLabelOptions>
pub fn get_info_icon_label_options( &self, ) -> &Option<SheetControlInfoIconLabelOptions>
The configuration of info icon label options.
sourcepub fn helper_text_visibility(self, input: Visibility) -> Self
pub fn helper_text_visibility(self, input: Visibility) -> Self
The helper text visibility of the DateTimePickerControlDisplayOptions
.
sourcepub fn set_helper_text_visibility(self, input: Option<Visibility>) -> Self
pub fn set_helper_text_visibility(self, input: Option<Visibility>) -> Self
The helper text visibility of the DateTimePickerControlDisplayOptions
.
sourcepub fn get_helper_text_visibility(&self) -> &Option<Visibility>
pub fn get_helper_text_visibility(&self) -> &Option<Visibility>
The helper text visibility of the DateTimePickerControlDisplayOptions
.
sourcepub fn date_icon_visibility(self, input: Visibility) -> Self
pub fn date_icon_visibility(self, input: Visibility) -> Self
The date icon visibility of the DateTimePickerControlDisplayOptions
.
sourcepub fn set_date_icon_visibility(self, input: Option<Visibility>) -> Self
pub fn set_date_icon_visibility(self, input: Option<Visibility>) -> Self
The date icon visibility of the DateTimePickerControlDisplayOptions
.
sourcepub fn get_date_icon_visibility(&self) -> &Option<Visibility>
pub fn get_date_icon_visibility(&self) -> &Option<Visibility>
The date icon visibility of the DateTimePickerControlDisplayOptions
.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DateTimePickerControlDisplayOptionsBuilder
impl Default for DateTimePickerControlDisplayOptionsBuilder
source§fn default() -> DateTimePickerControlDisplayOptionsBuilder
fn default() -> DateTimePickerControlDisplayOptionsBuilder
source§impl PartialEq for DateTimePickerControlDisplayOptionsBuilder
impl PartialEq for DateTimePickerControlDisplayOptionsBuilder
source§fn eq(&self, other: &DateTimePickerControlDisplayOptionsBuilder) -> bool
fn eq(&self, other: &DateTimePickerControlDisplayOptionsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DateTimePickerControlDisplayOptionsBuilder
Auto Trait Implementations§
impl Freeze for DateTimePickerControlDisplayOptionsBuilder
impl RefUnwindSafe for DateTimePickerControlDisplayOptionsBuilder
impl Send for DateTimePickerControlDisplayOptionsBuilder
impl Sync for DateTimePickerControlDisplayOptionsBuilder
impl Unpin for DateTimePickerControlDisplayOptionsBuilder
impl UnwindSafe for DateTimePickerControlDisplayOptionsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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 more