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: StringThe name of the font family.
font_size: u8The font size.
font_style: StringWhether the font is bold and/or italic.
font_underline: boolWhether the font is underlined.
show_title: boolWhether the title is displayed.
title_alignment: AlignmentThe vertical alignment of the title.
title_color: StringThe 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