pub struct AppBarWithSearchColors {
pub search_bar_colors: SearchBarColors,
pub scrolled_search_bar_container_color: Color,
pub app_bar_container_color: Color,
pub scrolled_app_bar_container_color: Color,
pub navigation_icon_content_color: Color,
pub action_icon_content_color: Color,
}Expand description
Color slots for AppBarWithSearch. Scrolled/not-scrolled pairs.
Fields§
§search_bar_colors: SearchBarColors§scrolled_search_bar_container_color: Color§app_bar_container_color: Color§scrolled_app_bar_container_color: Color§action_icon_content_color: ColorImplementations§
Source§impl AppBarWithSearchColors
impl AppBarWithSearchColors
pub fn search_bar_container(&self, scroll_fraction: f32) -> Color
pub fn app_bar_container(&self, scroll_fraction: f32) -> Color
Trait Implementations§
Source§impl Clone for AppBarWithSearchColors
impl Clone for AppBarWithSearchColors
Source§fn clone(&self) -> AppBarWithSearchColors
fn clone(&self) -> AppBarWithSearchColors
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 AppBarWithSearchColors
Source§impl Debug for AppBarWithSearchColors
impl Debug for AppBarWithSearchColors
Auto Trait Implementations§
impl Freeze for AppBarWithSearchColors
impl RefUnwindSafe for AppBarWithSearchColors
impl Send for AppBarWithSearchColors
impl Sync for AppBarWithSearchColors
impl Unpin for AppBarWithSearchColors
impl UnsafeUnpin for AppBarWithSearchColors
impl UnwindSafe for AppBarWithSearchColors
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