pub struct CardTheme {
pub background: Option<Rgba>,
pub border: Option<Rgba>,
pub radius: Option<f32>,
pub padding: Option<f32>,
pub shadow: Option<bool>,
}Expand description
Card / container colors and geometry.
Fields§
§background: Option<Rgba>§border: Option<Rgba>§radius: Option<f32>§padding: Option<f32>§shadow: Option<bool>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CardTheme
impl<'de> Deserialize<'de> for CardTheme
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CardTheme
Auto Trait Implementations§
impl Freeze for CardTheme
impl RefUnwindSafe for CardTheme
impl Send for CardTheme
impl Sync for CardTheme
impl Unpin for CardTheme
impl UnsafeUnpin for CardTheme
impl UnwindSafe for CardTheme
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