#[non_exhaustive]pub struct PanelTitleOptionsBuilder { /* private fields */ }Expand description
A builder for PanelTitleOptions.
Implementations§
source§impl PanelTitleOptionsBuilder
impl PanelTitleOptionsBuilder
sourcepub fn visibility(self, input: Visibility) -> Self
pub fn visibility(self, input: Visibility) -> Self
Determines whether or not panel titles are displayed.
sourcepub fn set_visibility(self, input: Option<Visibility>) -> Self
pub fn set_visibility(self, input: Option<Visibility>) -> Self
Determines whether or not panel titles are displayed.
sourcepub fn get_visibility(&self) -> &Option<Visibility>
pub fn get_visibility(&self) -> &Option<Visibility>
Determines whether or not panel titles are displayed.
sourcepub fn font_configuration(self, input: FontConfiguration) -> Self
pub fn font_configuration(self, input: FontConfiguration) -> Self
Configures the display properties of the given text.
sourcepub fn set_font_configuration(self, input: Option<FontConfiguration>) -> Self
pub fn set_font_configuration(self, input: Option<FontConfiguration>) -> Self
Configures the display properties of the given text.
sourcepub fn get_font_configuration(&self) -> &Option<FontConfiguration>
pub fn get_font_configuration(&self) -> &Option<FontConfiguration>
Configures the display properties of the given text.
sourcepub fn horizontal_text_alignment(self, input: HorizontalTextAlignment) -> Self
pub fn horizontal_text_alignment(self, input: HorizontalTextAlignment) -> Self
Sets the horizontal text alignment of the title within each panel.
sourcepub fn set_horizontal_text_alignment(
self,
input: Option<HorizontalTextAlignment>
) -> Self
pub fn set_horizontal_text_alignment( self, input: Option<HorizontalTextAlignment> ) -> Self
Sets the horizontal text alignment of the title within each panel.
sourcepub fn get_horizontal_text_alignment(&self) -> &Option<HorizontalTextAlignment>
pub fn get_horizontal_text_alignment(&self) -> &Option<HorizontalTextAlignment>
Sets the horizontal text alignment of the title within each panel.
sourcepub fn build(self) -> PanelTitleOptions
pub fn build(self) -> PanelTitleOptions
Consumes the builder and constructs a PanelTitleOptions.
Trait Implementations§
source§impl Clone for PanelTitleOptionsBuilder
impl Clone for PanelTitleOptionsBuilder
source§fn clone(&self) -> PanelTitleOptionsBuilder
fn clone(&self) -> PanelTitleOptionsBuilder
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 Debug for PanelTitleOptionsBuilder
impl Debug for PanelTitleOptionsBuilder
source§impl Default for PanelTitleOptionsBuilder
impl Default for PanelTitleOptionsBuilder
source§fn default() -> PanelTitleOptionsBuilder
fn default() -> PanelTitleOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PanelTitleOptionsBuilder
impl PartialEq for PanelTitleOptionsBuilder
source§fn eq(&self, other: &PanelTitleOptionsBuilder) -> bool
fn eq(&self, other: &PanelTitleOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PanelTitleOptionsBuilder
Auto Trait Implementations§
impl Freeze for PanelTitleOptionsBuilder
impl RefUnwindSafe for PanelTitleOptionsBuilder
impl Send for PanelTitleOptionsBuilder
impl Sync for PanelTitleOptionsBuilder
impl Unpin for PanelTitleOptionsBuilder
impl UnwindSafe for PanelTitleOptionsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.