pub struct TextTheme {
pub headline: TextStyleTheme,
pub title: TextStyleTheme,
pub body: TextStyleTheme,
pub caption: TextStyleTheme,
}Expand description
Text style defaults (theme-level). Individual TextWidget can override via TextStyle.
Fields§
§headline: TextStyleTheme§title: TextStyleTheme§body: TextStyleTheme§caption: TextStyleThemeTrait Implementations§
impl StructuralPartialEq for TextTheme
Auto Trait Implementations§
impl Forget for TextTheme
impl Freeze for TextTheme
impl Move for TextTheme
impl RefUnwindSafe for TextTheme
impl Send for TextTheme
impl Sync for TextTheme
impl Unpin for TextTheme
impl UnsafeUnpin 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