pub struct CardProps {
pub class: Option<Cow<'static, str>>,
pub attrs: AttrMap,
pub children: Children,
}Expand description
Card has a single CSS class .card — no variants.
Fields§
§class: Option<Cow<'static, str>>§attrs: AttrMap§children: ChildrenImplementations§
Source§impl CardProps
impl CardProps
pub const __BASECOAT_EXTEND_FIELD: Option<&'static str>
Sourcepub fn builder() -> CardPropsBuilder
pub fn builder() -> CardPropsBuilder
Create a builder for this prop struct.
Trait Implementations§
Source§impl From<CardPropsBuilder> for CardProps
impl From<CardPropsBuilder> for CardProps
Source§fn from(b: CardPropsBuilder) -> CardProps
fn from(b: CardPropsBuilder) -> CardProps
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CardProps
impl RefUnwindSafe for CardProps
impl Send for CardProps
impl Sync for CardProps
impl Unpin for CardProps
impl UnsafeUnpin 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