pub struct EuvRadioOption {
pub value: &'static str,
pub label: &'static str,
}Expand description
One selectable entry of the [euv_radio_group].
Carries the machine value submitted with the form and the label the
user reads; the group compares the machine value against its own
value signal to decide which item renders as checked.
Fields§
§value: &'static strThe machine value submitted when this option is selected.
label: &'static strThe display label shown next to the radio control.
Implementations§
Source§impl EuvRadioOption
impl EuvRadioOption
pub fn get_value(&self) -> &'static str
pub fn get_mut_value(&mut self) -> &mut &'static str
pub fn set_value(&mut self, val: &'static str) -> &mut Self
pub fn get_label(&self) -> &'static str
pub fn get_mut_label(&mut self) -> &mut &'static str
pub fn set_label(&mut self, val: &'static str) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvRadioOption
impl Clone for EuvRadioOption
impl Copy for EuvRadioOption
Source§impl Debug for EuvRadioOption
impl Debug for EuvRadioOption
Auto Trait Implementations§
impl Freeze for EuvRadioOption
impl RefUnwindSafe for EuvRadioOption
impl Send for EuvRadioOption
impl Sync for EuvRadioOption
impl Unpin for EuvRadioOption
impl UnsafeUnpin for EuvRadioOption
impl UnwindSafe for EuvRadioOption
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