[][src]Struct streamdeck_rs::TitleParameters

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,
}

Style information for a title.

Official Documentation

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

impl Debug for TitleParameters[src]

impl<'de> Deserialize<'de> for TitleParameters[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,