pub struct CardProps {
pub title: Option<String>,
pub elevation: Option<u8>,
pub border_radius: Option<String>,
pub bordered: Option<bool>,
pub padding: Option<String>,
pub children: Option<String>,
}
Expand description
Card props
Fields§
§title: Option<String>
Card title
elevation: Option<u8>
Card elevation (shadow level)
border_radius: Option<String>
Card border radius
bordered: Option<bool>
Whether the card has a border
padding: Option<String>
Card padding
children: Option<String>
Child content
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CardProps
impl RefUnwindSafe for CardProps
impl Send for CardProps
impl Sync for CardProps
impl Unpin for CardProps
impl UnwindSafe for CardProps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting