Struct patternfly_yew::components::card::CardProperties
source · pub struct CardProperties {Show 18 fields
pub id: AttrValue,
pub children: ChildrenRenderer<CardBodyVariant>,
pub title: Option<Html>,
pub footer: Option<Html>,
pub compact: bool,
pub disabled: bool,
pub flat: bool,
pub onclick: Callback<MouseEvent>,
pub expandable: bool,
pub large: bool,
pub full_height: bool,
pub rounded: bool,
pub selectable: bool,
pub selected: bool,
pub style: Option<AttrValue>,
pub additional_class: Classes,
pub plain: bool,
pub actions: Option<Html>,
}Expand description
Properties for Card
Fields§
§id: AttrValue§children: ChildrenRenderer<CardBodyVariant>§title: Option<Html>§compact: bool§disabled: bool§flat: bool§onclick: Callback<MouseEvent>§expandable: bool§large: bool§full_height: bool§rounded: bool§selectable: bool§selected: bool§style: Option<AttrValue>§additional_class: Classes§plain: bool§actions: Option<Html>Trait Implementations§
source§impl Clone for CardProperties
impl Clone for CardProperties
source§fn clone(&self) -> CardProperties
fn clone(&self) -> CardProperties
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for CardProperties
impl PartialEq for CardProperties
source§fn eq(&self, other: &CardProperties) -> bool
fn eq(&self, other: &CardProperties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Properties for CardProperties
impl Properties for CardProperties
impl StructuralPartialEq for CardProperties
Auto Trait Implementations§
impl !RefUnwindSafe for CardProperties
impl !Send for CardProperties
impl !Sync for CardProperties
impl Unpin for CardProperties
impl !UnwindSafe for CardProperties
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.