#[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 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 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 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<PanelTitleOptionsBuilder> for PanelTitleOptionsBuilder
impl PartialEq<PanelTitleOptionsBuilder> 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 ==.