pub struct ChipDefaults;Expand description
Default values for chip components.
Implementations§
Source§impl ChipDefaults
impl ChipDefaults
pub const HEIGHT: f32 = 32.0
pub const HORIZONTAL_PADDING: f32 = 16.0
pub const SHAPE_RADIUS: f32 = 8.0
pub const BORDER_WIDTH: f32 = 1.0
pub fn container_color() -> Color
pub fn label_color() -> Color
pub fn leading_icon_color() -> Color
pub fn trailing_icon_color() -> Color
pub fn disabled_container_color() -> Color
pub fn disabled_label_color() -> Color
pub fn disabled_leading_icon_color() -> Color
pub fn disabled_trailing_icon_color() -> Color
pub fn selected_container_color() -> Color
pub fn selected_label_color() -> Color
pub fn selected_leading_icon_color() -> Color
pub fn selected_trailing_icon_color() -> Color
pub fn disabled_selected_container_color() -> Color
pub fn border_color() -> Color
pub fn selected_border_color() -> Color
pub fn disabled_border_color() -> Color
pub fn disabled_selected_border_color() -> Color
pub fn elevation_default() -> f32
pub fn elevation_hovered() -> f32
pub fn elevation_focused() -> f32
pub fn elevation_pressed() -> f32
pub fn elevation_dragged() -> f32
pub fn elevation_disabled() -> f32
pub fn elevated_elevation_default() -> f32
pub fn elevated_elevation_hovered() -> f32
pub fn elevated_elevation_focused() -> f32
pub fn elevated_elevation_pressed() -> f32
pub fn elevated_elevation_dragged() -> f32
pub fn elevated_elevation_disabled() -> f32
pub fn elevated_container_color() -> Color
pub fn elevated_selected_container_color() -> Color
pub fn disabled_elevated_container_color() -> Color
Auto Trait Implementations§
impl Freeze for ChipDefaults
impl RefUnwindSafe for ChipDefaults
impl Send for ChipDefaults
impl Sync for ChipDefaults
impl Unpin for ChipDefaults
impl UnsafeUnpin for ChipDefaults
impl UnwindSafe for ChipDefaults
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