pub struct ButtonColors {
pub container_color: Color,
pub content_color: Color,
pub disabled_container_color: Color,
pub disabled_content_color: Color,
}Expand description
Color slots for buttons (matching Compose Material3 ButtonColors).
Fields§
§container_color: Color§content_color: Color§disabled_container_color: Color§disabled_content_color: ColorImplementations§
Trait Implementations§
Source§impl Clone for ButtonColors
impl Clone for ButtonColors
Source§fn clone(&self) -> ButtonColors
fn clone(&self) -> ButtonColors
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 moreimpl Copy for ButtonColors
Auto Trait Implementations§
impl Freeze for ButtonColors
impl RefUnwindSafe for ButtonColors
impl Send for ButtonColors
impl Sync for ButtonColors
impl Unpin for ButtonColors
impl UnsafeUnpin for ButtonColors
impl UnwindSafe for ButtonColors
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