pub struct CardDefaults;Expand description
Default values for card components.
Implementations§
Source§impl CardDefaults
impl CardDefaults
pub const SHAPE_RADIUS: f32 = 12.0
pub const ELEVATION: f32 = 0.0
pub fn filled_container_color() -> Color
pub fn elevated_container_color() -> Color
pub fn outlined_container_color() -> Color
pub fn outlined_border_color() -> Color
pub fn filled_content_color() -> Color
pub fn elevated_content_color() -> Color
pub fn outlined_content_color() -> Color
pub fn disabled_container_color() -> Color
pub fn disabled_content_color() -> Color
Auto Trait Implementations§
impl Freeze for CardDefaults
impl RefUnwindSafe for CardDefaults
impl Send for CardDefaults
impl Sync for CardDefaults
impl Unpin for CardDefaults
impl UnsafeUnpin for CardDefaults
impl UnwindSafe for CardDefaults
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