pub struct TitleParameters {
pub font_family: String,
pub font_size: u8,
pub font_style: String,
pub font_underline: bool,
pub show_title: bool,
pub title_alignment: Alignment,
pub title_color: String,
}
Expand description
Style information for a title.
Fields§
§font_family: String
The name of the font family.
font_size: u8
The font size.
font_style: String
Whether the font is bold and/or italic.
font_underline: bool
Whether the font is underlined.
show_title: bool
Whether the title is displayed.
title_alignment: Alignment
The vertical alignment of the title.
title_color: String
The color of the title.
Trait Implementations§
Source§impl Debug for TitleParameters
impl Debug for TitleParameters
Source§impl<'de> Deserialize<'de> for TitleParameters
impl<'de> Deserialize<'de> for TitleParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TitleParameters
impl RefUnwindSafe for TitleParameters
impl Send for TitleParameters
impl Sync for TitleParameters
impl Unpin for TitleParameters
impl UnwindSafe for TitleParameters
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