#[non_exhaustive]pub struct TextFieldControlDisplayOptionsBuilder { /* private fields */ }
Expand description
A builder for TextFieldControlDisplayOptions
.
Implementations§
source§impl TextFieldControlDisplayOptionsBuilder
impl TextFieldControlDisplayOptionsBuilder
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 placeholder_options(self, input: TextControlPlaceholderOptions) -> Self
pub fn placeholder_options(self, input: TextControlPlaceholderOptions) -> Self
The configuration of the placeholder options in a text field control.
sourcepub fn set_placeholder_options(
self,
input: Option<TextControlPlaceholderOptions>,
) -> Self
pub fn set_placeholder_options( self, input: Option<TextControlPlaceholderOptions>, ) -> Self
The configuration of the placeholder options in a text field control.
sourcepub fn get_placeholder_options(&self) -> &Option<TextControlPlaceholderOptions>
pub fn get_placeholder_options(&self) -> &Option<TextControlPlaceholderOptions>
The configuration of the placeholder options in a text field control.
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 build(self) -> TextFieldControlDisplayOptions
pub fn build(self) -> TextFieldControlDisplayOptions
Consumes the builder and constructs a TextFieldControlDisplayOptions
.
Trait Implementations§
source§impl Clone for TextFieldControlDisplayOptionsBuilder
impl Clone for TextFieldControlDisplayOptionsBuilder
source§fn clone(&self) -> TextFieldControlDisplayOptionsBuilder
fn clone(&self) -> TextFieldControlDisplayOptionsBuilder
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 TextFieldControlDisplayOptionsBuilder
impl Default for TextFieldControlDisplayOptionsBuilder
source§fn default() -> TextFieldControlDisplayOptionsBuilder
fn default() -> TextFieldControlDisplayOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TextFieldControlDisplayOptionsBuilder
impl PartialEq for TextFieldControlDisplayOptionsBuilder
source§fn eq(&self, other: &TextFieldControlDisplayOptionsBuilder) -> bool
fn eq(&self, other: &TextFieldControlDisplayOptionsBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TextFieldControlDisplayOptionsBuilder
Auto Trait Implementations§
impl Freeze for TextFieldControlDisplayOptionsBuilder
impl RefUnwindSafe for TextFieldControlDisplayOptionsBuilder
impl Send for TextFieldControlDisplayOptionsBuilder
impl Sync for TextFieldControlDisplayOptionsBuilder
impl Unpin for TextFieldControlDisplayOptionsBuilder
impl UnwindSafe for TextFieldControlDisplayOptionsBuilder
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
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.