pub struct RadioProps {
pub size: Size,
pub checked: bool,
pub disabled: bool,
pub class: Option<String>,
pub aria_label: Option<String>,
pub id: Option<String>,
pub value: Option<String>,
}Expand description
Properties for the styled Radio button.
Fields§
§size: Size§checked: bool§disabled: bool§class: Option<String>§aria_label: Option<String>§id: Option<String>§value: Option<String>Trait Implementations§
Source§impl Clone for RadioProps
impl Clone for RadioProps
Source§fn clone(&self) -> RadioProps
fn clone(&self) -> RadioProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RadioProps
impl Debug for RadioProps
Source§impl Default for RadioProps
impl Default for RadioProps
Source§fn default() -> RadioProps
fn default() -> RadioProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for RadioProps
impl PartialEq for RadioProps
Source§fn eq(&self, other: &RadioProps) -> bool
fn eq(&self, other: &RadioProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RadioProps
Auto Trait Implementations§
impl Freeze for RadioProps
impl RefUnwindSafe for RadioProps
impl Send for RadioProps
impl Sync for RadioProps
impl Unpin for RadioProps
impl UnsafeUnpin for RadioProps
impl UnwindSafe for RadioProps
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