#[non_exhaustive]pub struct RelativeDateTimeControlDisplayOptions { /* private fields */ }Expand description
The display options of a control.
Implementations§
source§impl RelativeDateTimeControlDisplayOptions
impl RelativeDateTimeControlDisplayOptions
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 date_time_format(&self) -> Option<&str>
pub fn date_time_format(&self) -> Option<&str>
Customize how dates are formatted in controls.
source§impl RelativeDateTimeControlDisplayOptions
impl RelativeDateTimeControlDisplayOptions
sourcepub fn builder() -> RelativeDateTimeControlDisplayOptionsBuilder
pub fn builder() -> RelativeDateTimeControlDisplayOptionsBuilder
Creates a new builder-style object to manufacture RelativeDateTimeControlDisplayOptions.
Trait Implementations§
source§impl Clone for RelativeDateTimeControlDisplayOptions
impl Clone for RelativeDateTimeControlDisplayOptions
source§fn clone(&self) -> RelativeDateTimeControlDisplayOptions
fn clone(&self) -> RelativeDateTimeControlDisplayOptions
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<RelativeDateTimeControlDisplayOptions> for RelativeDateTimeControlDisplayOptions
impl PartialEq<RelativeDateTimeControlDisplayOptions> for RelativeDateTimeControlDisplayOptions
source§fn eq(&self, other: &RelativeDateTimeControlDisplayOptions) -> bool
fn eq(&self, other: &RelativeDateTimeControlDisplayOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RelativeDateTimeControlDisplayOptions
Auto Trait Implementations§
impl RefUnwindSafe for RelativeDateTimeControlDisplayOptions
impl Send for RelativeDateTimeControlDisplayOptions
impl Sync for RelativeDateTimeControlDisplayOptions
impl Unpin for RelativeDateTimeControlDisplayOptions
impl UnwindSafe for RelativeDateTimeControlDisplayOptions
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