pub struct SearchBarConfig {Show 13 fields
pub modifier: Modifier,
pub colors: SearchBarColors,
pub height: f32,
pub shape_radius: f32,
pub active_shape_radius: f32,
pub expanded_width: f32,
pub collapsed_width: f32,
pub tonal_elevation: f32,
pub shadow_elevation: f32,
pub window_insets: WindowInsets,
pub content_padding: PaddingValues,
pub min_width: f32,
pub max_width: f32,
}Expand description
Configuration for SearchBar.
Fields§
§modifier: Modifier§colors: SearchBarColors§height: f32§shape_radius: f32§active_shape_radius: f32§expanded_width: f32§collapsed_width: f32§tonal_elevation: f32§shadow_elevation: f32§window_insets: WindowInsets§content_padding: PaddingValues§min_width: f32§max_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