Struct streamdeck_rs::TitleParameters
source · 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