pub struct IconButtonDefaults;Expand description
Default values for icon button components.
Implementations§
Source§impl IconButtonDefaults
impl IconButtonDefaults
pub const CONTAINER_SIZE: f32 = 48.0
pub const FILLED_CONTAINER_SIZE: f32 = 40.0
pub fn content_color() -> Color
pub fn disabled_content_color() -> Color
pub fn filled_content_color() -> Color
pub fn filled_container_color() -> Color
pub fn filled_tonal_content_color() -> Color
pub fn filled_tonal_container_color() -> Color
pub fn state_colors_default() -> StateColors
Auto Trait Implementations§
impl Freeze for IconButtonDefaults
impl RefUnwindSafe for IconButtonDefaults
impl Send for IconButtonDefaults
impl Sync for IconButtonDefaults
impl Unpin for IconButtonDefaults
impl UnsafeUnpin for IconButtonDefaults
impl UnwindSafe for IconButtonDefaults
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