Struct aws_sdk_quicksight::types::FontConfiguration
source · #[non_exhaustive]pub struct FontConfiguration {
pub font_size: Option<FontSize>,
pub font_decoration: Option<FontDecoration>,
pub font_color: Option<String>,
pub font_weight: Option<FontWeight>,
pub font_style: Option<FontStyle>,
}
Expand description
Configures the display properties of the given text.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.font_size: Option<FontSize>
The option that determines the text display size.
font_decoration: Option<FontDecoration>
Determines the appearance of decorative lines on the text.
font_color: Option<String>
Determines the color of the text.
font_weight: Option<FontWeight>
The option that determines the text display weight, or boldness.
font_style: Option<FontStyle>
Determines the text display face that is inherited by the given font family.
Implementations§
source§impl FontConfiguration
impl FontConfiguration
sourcepub fn font_decoration(&self) -> Option<&FontDecoration>
pub fn font_decoration(&self) -> Option<&FontDecoration>
Determines the appearance of decorative lines on the text.
sourcepub fn font_color(&self) -> Option<&str>
pub fn font_color(&self) -> Option<&str>
Determines the color of the text.
sourcepub fn font_weight(&self) -> Option<&FontWeight>
pub fn font_weight(&self) -> Option<&FontWeight>
The option that determines the text display weight, or boldness.
sourcepub fn font_style(&self) -> Option<&FontStyle>
pub fn font_style(&self) -> Option<&FontStyle>
Determines the text display face that is inherited by the given font family.
source§impl FontConfiguration
impl FontConfiguration
sourcepub fn builder() -> FontConfigurationBuilder
pub fn builder() -> FontConfigurationBuilder
Creates a new builder-style object to manufacture FontConfiguration
.
Trait Implementations§
source§impl Clone for FontConfiguration
impl Clone for FontConfiguration
source§fn clone(&self) -> FontConfiguration
fn clone(&self) -> FontConfiguration
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 FontConfiguration
impl Debug for FontConfiguration
source§impl PartialEq for FontConfiguration
impl PartialEq for FontConfiguration
source§fn eq(&self, other: &FontConfiguration) -> bool
fn eq(&self, other: &FontConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FontConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for FontConfiguration
impl Send for FontConfiguration
impl Sync for FontConfiguration
impl Unpin for FontConfiguration
impl UnwindSafe for FontConfiguration
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.