Struct patternfly_yew::components::form::RadioProperties
source · pub struct RadioProperties {
pub id: Option<String>,
pub name: Option<AttrValue>,
pub value: Option<AttrValue>,
pub children: Children,
pub checked: bool,
pub reversed: bool,
pub disabled: bool,
pub description: Option<Html>,
pub body: Option<Html>,
pub onchange: Callback<()>,
}Expand description
Properties for Radio.
Fields§
§id: Option<String>§name: Option<AttrValue>The input control name, used to group radio buttons together.
value: Option<AttrValue>§children: ChildrenThe radio button label content.
checked: bool§reversed: bool§disabled: bool§description: Option<Html>A longer description text.
body: Option<Html>Additional content aligned with the label.
onchange: Callback<()>Event fired when the radio button is checked (but not when unchecked).
Trait Implementations§
source§impl PartialEq for RadioProperties
impl PartialEq for RadioProperties
source§fn eq(&self, other: &RadioProperties) -> bool
fn eq(&self, other: &RadioProperties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Properties for RadioProperties
impl Properties for RadioProperties
impl StructuralPartialEq for RadioProperties
Auto Trait Implementations§
impl !RefUnwindSafe for RadioProperties
impl !Send for RadioProperties
impl !Sync for RadioProperties
impl Unpin for RadioProperties
impl !UnwindSafe for RadioProperties
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.