#[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 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 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<TextFieldControlDisplayOptionsBuilder> for TextFieldControlDisplayOptionsBuilder
impl PartialEq<TextFieldControlDisplayOptionsBuilder> for TextFieldControlDisplayOptionsBuilder
source§fn eq(&self, other: &TextFieldControlDisplayOptionsBuilder) -> bool
fn eq(&self, other: &TextFieldControlDisplayOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.