#[non_exhaustive]pub struct TextFieldControlDisplayOptions { /* private fields */ }
Expand description
The display options of a control.
Implementations§
source§impl TextFieldControlDisplayOptions
impl TextFieldControlDisplayOptions
sourcepub fn title_options(&self) -> Option<&LabelOptions>
pub fn title_options(&self) -> Option<&LabelOptions>
The options to configure the title visibility, name, and font size.
sourcepub fn placeholder_options(&self) -> Option<&TextControlPlaceholderOptions>
pub fn placeholder_options(&self) -> Option<&TextControlPlaceholderOptions>
The configuration of the placeholder options in a text field control.
source§impl TextFieldControlDisplayOptions
impl TextFieldControlDisplayOptions
sourcepub fn builder() -> TextFieldControlDisplayOptionsBuilder
pub fn builder() -> TextFieldControlDisplayOptionsBuilder
Creates a new builder-style object to manufacture TextFieldControlDisplayOptions
.
Trait Implementations§
source§impl Clone for TextFieldControlDisplayOptions
impl Clone for TextFieldControlDisplayOptions
source§fn clone(&self) -> TextFieldControlDisplayOptions
fn clone(&self) -> TextFieldControlDisplayOptions
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 PartialEq<TextFieldControlDisplayOptions> for TextFieldControlDisplayOptions
impl PartialEq<TextFieldControlDisplayOptions> for TextFieldControlDisplayOptions
source§fn eq(&self, other: &TextFieldControlDisplayOptions) -> bool
fn eq(&self, other: &TextFieldControlDisplayOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.