pub struct TextTheme {
pub font_family: String,
pub font_size: f32,
pub color: String,
pub font_weight: String,
}Expand description
Text theme configuration
Fields§
§font_family: StringFont family
font_size: f32Font size
color: StringFont color
font_weight: StringFont weight
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TextTheme
impl<'de> Deserialize<'de> for TextTheme
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 TextTheme
impl RefUnwindSafe for TextTheme
impl Send for TextTheme
impl Sync for TextTheme
impl Unpin for TextTheme
impl UnwindSafe for TextTheme
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