pub struct TopAppBarColors {
pub container_color: Color,
pub scrolled_container_color: Color,
pub navigation_icon_content_color: Color,
pub title_content_color: Color,
pub subtitle_content_color: Color,
pub action_icon_content_color: Color,
}Expand description
Color slots for TopAppBar.
Fields§
§container_color: Color§scrolled_container_color: Color§title_content_color: Color§subtitle_content_color: Color§action_icon_content_color: ColorImplementations§
Source§impl TopAppBarColors
impl TopAppBarColors
pub fn container_color(&self, scroll_fraction: f32) -> Color
Trait Implementations§
Source§impl Clone for TopAppBarColors
impl Clone for TopAppBarColors
Source§fn clone(&self) -> TopAppBarColors
fn clone(&self) -> TopAppBarColors
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TopAppBarColors
Source§impl Debug for TopAppBarColors
impl Debug for TopAppBarColors
Auto Trait Implementations§
impl Freeze for TopAppBarColors
impl RefUnwindSafe for TopAppBarColors
impl Send for TopAppBarColors
impl Sync for TopAppBarColors
impl Unpin for TopAppBarColors
impl UnsafeUnpin for TopAppBarColors
impl UnwindSafe for TopAppBarColors
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