pub struct SearchBarConfig {
pub modifier: Modifier,
pub container_color: Color,
pub active_container_color: Color,
pub content_color: Color,
pub placeholder_color: Color,
pub height: f32,
pub expanded_width: f32,
pub collapsed_width: f32,
}Expand description
Configuration for SearchBar.
Fields§
§modifier: Modifier§container_color: Color§active_container_color: Color§content_color: Color§placeholder_color: Color§height: f32§expanded_width: f32§collapsed_width: f32Trait Implementations§
Source§impl Clone for SearchBarConfig
impl Clone for SearchBarConfig
Source§fn clone(&self) -> SearchBarConfig
fn clone(&self) -> SearchBarConfig
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 moreSource§impl Debug for SearchBarConfig
impl Debug for SearchBarConfig
Auto Trait Implementations§
impl !RefUnwindSafe for SearchBarConfig
impl !Send for SearchBarConfig
impl !Sync for SearchBarConfig
impl !UnwindSafe for SearchBarConfig
impl Freeze for SearchBarConfig
impl Unpin for SearchBarConfig
impl UnsafeUnpin for SearchBarConfig
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