pub struct SelectOpt {
pub label: String,
pub sub: Option<String>,
pub disabled: bool,
}Expand description
One option of a select.
Fields§
§label: String§sub: Option<String>A muted second line.
disabled: boolShown greyed, not pickable (no hit id).
Implementations§
Trait Implementations§
impl StructuralPartialEq for SelectOpt
Auto Trait Implementations§
impl Forget for SelectOpt
impl Freeze for SelectOpt
impl Move for SelectOpt
impl RefUnwindSafe for SelectOpt
impl Send for SelectOpt
impl Sync for SelectOpt
impl Unpin for SelectOpt
impl UnsafeUnpin for SelectOpt
impl UnwindSafe for SelectOpt
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