#[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 ==.impl StructuralPartialEq for TextFieldControlDisplayOptions
Auto Trait Implementations§
impl RefUnwindSafe for TextFieldControlDisplayOptions
impl Send for TextFieldControlDisplayOptions
impl Sync for TextFieldControlDisplayOptions
impl Unpin for TextFieldControlDisplayOptions
impl UnwindSafe for TextFieldControlDisplayOptions
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