Struct components::material::AppBarTheme
source · [−]pub struct AppBarTheme {Show 17 fields
pub brightness: Brightness,
pub color: Color,
pub background_color: Color,
pub foreground_color: Color,
pub elevation: f32,
pub shadow_color: Color,
pub shape: Box<dyn ShapeBorder>,
pub icon_theme: IconThemeData,
pub actions_icon_theme: IconThemeData,
pub text_theme: TextTheme,
pub center_title: bool,
pub title_spacing: f32,
pub toolbar_height: f32,
pub toolbar_text_style: TextStyle,
pub title_text_style: TextStyle,
pub system_overlay_style: SystemUiOverlayStyle,
pub backwards_compatibility: bool,
}
Fields
brightness: Brightness
color: Color
background_color: Color
foreground_color: Color
elevation: f32
shadow_color: Color
shape: Box<dyn ShapeBorder>
icon_theme: IconThemeData
actions_icon_theme: IconThemeData
text_theme: TextTheme
center_title: bool
title_spacing: f32
toolbar_height: f32
toolbar_text_style: TextStyle
title_text_style: TextStyle
system_overlay_style: SystemUiOverlayStyle
backwards_compatibility: bool
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AppBarTheme
impl !Send for AppBarTheme
impl !Sync for AppBarTheme
impl Unpin for AppBarTheme
impl !UnwindSafe for AppBarTheme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.