pub struct RadioOption {
pub value: String,
pub label: String,
pub disabled: bool,
}Fields§
§value: String§label: String§disabled: boolImplementations§
Source§impl RadioOption
impl RadioOption
pub fn new(value: String, label: String) -> RadioOption
pub fn disabled(self, disabled: bool) -> RadioOption
Trait Implementations§
Source§impl Clone for RadioOption
impl Clone for RadioOption
Source§fn clone(&self) -> RadioOption
fn clone(&self) -> RadioOption
Returns a duplicate 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 Debug for RadioOption
impl Debug for RadioOption
Source§impl Default for RadioOption
impl Default for RadioOption
Source§fn default() -> RadioOption
fn default() -> RadioOption
Returns the “default value” for a type. Read more
Source§impl Hash for RadioOption
impl Hash for RadioOption
Source§impl PartialEq for RadioOption
impl PartialEq for RadioOption
impl Eq for RadioOption
impl StructuralPartialEq for RadioOption
Auto Trait Implementations§
impl Freeze for RadioOption
impl RefUnwindSafe for RadioOption
impl Send for RadioOption
impl Sync for RadioOption
impl Unpin for RadioOption
impl UnwindSafe for RadioOption
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