Struct yewprint::RadioGroupProps
source · pub struct RadioGroupProps<T: ImplicitClone + PartialEq + 'static> {
pub label: Option<Html>,
pub disabled: bool,
pub inline: bool,
pub large: bool,
pub options: IArray<(T, AttrValue)>,
pub value: Option<T>,
pub onchange: Callback<T>,
pub class: Classes,
}
Fields§
§label: Option<Html>
§disabled: bool
§inline: bool
§large: bool
§options: IArray<(T, AttrValue)>
§value: Option<T>
§onchange: Callback<T>
§class: Classes
Trait Implementations§
source§impl<T: Clone + ImplicitClone + PartialEq + 'static> Clone for RadioGroupProps<T>
impl<T: Clone + ImplicitClone + PartialEq + 'static> Clone for RadioGroupProps<T>
source§fn clone(&self) -> RadioGroupProps<T>
fn clone(&self) -> RadioGroupProps<T>
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<T: PartialEq + ImplicitClone + PartialEq + 'static> PartialEq for RadioGroupProps<T>
impl<T: PartialEq + ImplicitClone + PartialEq + 'static> PartialEq for RadioGroupProps<T>
source§fn eq(&self, other: &RadioGroupProps<T>) -> bool
fn eq(&self, other: &RadioGroupProps<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: ImplicitClone + PartialEq + 'static> Properties for RadioGroupProps<T>
impl<T: ImplicitClone + PartialEq + 'static> Properties for RadioGroupProps<T>
impl<T: ImplicitClone + PartialEq + 'static> StructuralPartialEq for RadioGroupProps<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for RadioGroupProps<T>
impl<T> !Send for RadioGroupProps<T>
impl<T> !Sync for RadioGroupProps<T>
impl<T> Unpin for RadioGroupProps<T>where T: Unpin,
impl<T> !UnwindSafe for RadioGroupProps<T>
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.