pub struct CardProps {
pub class: Classes,
pub elevation: Elevation,
pub onclick: Option<Callback<MouseEvent>>,
pub interactive: bool,
pub style: Option<AttrValue>,
pub children: Children,
}
Fields§
§class: Classes
§elevation: Elevation
§onclick: Option<Callback<MouseEvent>>
§interactive: bool
§style: Option<AttrValue>
§children: Children
Trait Implementations§
source§impl PartialEq for CardProps
impl PartialEq for CardProps
source§impl Properties for CardProps
impl Properties for CardProps
impl StructuralPartialEq for CardProps
Auto Trait Implementations§
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.