pub struct ChipConfig {
pub modifier: Modifier,
pub enabled: bool,
pub colors: ChipColors,
pub elevation: ChipElevation,
pub border_width: f32,
pub border_color: Color,
pub selected_border_color: Color,
pub disabled_border_color: Color,
pub disabled_selected_border_color: Color,
pub shape_radius: f32,
pub horizontal_padding: f32,
pub interaction_source: Option<MutableInteractionSource>,
}Expand description
Configuration for chips.
Fields§
§modifier: Modifier§enabled: bool§colors: ChipColors§elevation: ChipElevation§border_width: f32§border_color: Color§selected_border_color: Color§disabled_border_color: Color§disabled_selected_border_color: Color§shape_radius: f32§horizontal_padding: f32§interaction_source: Option<MutableInteractionSource>Trait Implementations§
Source§impl Clone for ChipConfig
impl Clone for ChipConfig
Source§fn clone(&self) -> ChipConfig
fn clone(&self) -> ChipConfig
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 ChipConfig
impl Debug for ChipConfig
Auto Trait Implementations§
impl !RefUnwindSafe for ChipConfig
impl !Send for ChipConfig
impl !Sync for ChipConfig
impl !UnwindSafe for ChipConfig
impl Freeze for ChipConfig
impl Unpin for ChipConfig
impl UnsafeUnpin for ChipConfig
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