pub struct ChipConfig {
pub modifier: Modifier,
pub enabled: bool,
pub selected: bool,
pub container_color: Color,
pub selected_container_color: Color,
pub content_color: Color,
pub selected_content_color: Color,
pub border_color: Color,
pub shape_radius: f32,
pub horizontal_padding: f32,
}Expand description
Configuration for chips.
Fields§
§modifier: Modifier§enabled: bool§selected: bool§container_color: Color§selected_container_color: Color§content_color: Color§selected_content_color: Color§border_color: Color§shape_radius: f32§horizontal_padding: f32Trait 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