#[non_exhaustive]pub struct TextAreaControlDisplayOptionsBuilder { /* private fields */ }Expand description
A builder for TextAreaControlDisplayOptions.
Implementations§
source§impl TextAreaControlDisplayOptionsBuilder
impl TextAreaControlDisplayOptionsBuilder
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 area 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 area control.
sourcepub fn build(self) -> TextAreaControlDisplayOptions
pub fn build(self) -> TextAreaControlDisplayOptions
Consumes the builder and constructs a TextAreaControlDisplayOptions.
Trait Implementations§
source§impl Clone for TextAreaControlDisplayOptionsBuilder
impl Clone for TextAreaControlDisplayOptionsBuilder
source§fn clone(&self) -> TextAreaControlDisplayOptionsBuilder
fn clone(&self) -> TextAreaControlDisplayOptionsBuilder
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 TextAreaControlDisplayOptionsBuilder
impl Default for TextAreaControlDisplayOptionsBuilder
source§fn default() -> TextAreaControlDisplayOptionsBuilder
fn default() -> TextAreaControlDisplayOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TextAreaControlDisplayOptionsBuilder> for TextAreaControlDisplayOptionsBuilder
impl PartialEq<TextAreaControlDisplayOptionsBuilder> for TextAreaControlDisplayOptionsBuilder
source§fn eq(&self, other: &TextAreaControlDisplayOptionsBuilder) -> bool
fn eq(&self, other: &TextAreaControlDisplayOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.