Struct mendes::forms::SelectOption
source · pub struct SelectOption {
pub label: Cow<'static, str>,
pub value: Cow<'static, str>,
pub disabled: bool,
pub selected: bool,
}
Available on crate feature
forms
only.Fields§
§label: Cow<'static, str>
§value: Cow<'static, str>
§disabled: bool
§selected: bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SelectOption
impl Send for SelectOption
impl Sync for SelectOption
impl Unpin for SelectOption
impl UnwindSafe for SelectOption
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