pub struct CardConfig {
pub modifier: Modifier,
pub container_color: Color,
pub shape_radius: f32,
pub tonal_elevation: f32,
}Expand description
Configuration for [Card].
Fields§
§modifier: Modifier§container_color: Color§shape_radius: f32§tonal_elevation: f32Trait Implementations§
Source§impl Clone for CardConfig
impl Clone for CardConfig
Source§fn clone(&self) -> CardConfig
fn clone(&self) -> CardConfig
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 CardConfig
impl Debug for CardConfig
Auto Trait Implementations§
impl !RefUnwindSafe for CardConfig
impl !Send for CardConfig
impl !Sync for CardConfig
impl !UnwindSafe for CardConfig
impl Freeze for CardConfig
impl Unpin for CardConfig
impl UnsafeUnpin for CardConfig
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