pub struct SelectOption<TValue> {
pub value: TValue,
pub label: String,
pub hint: Option<String>,
}Fields§
§value: TValue§label: String§hint: Option<String>Trait Implementations§
Source§impl<TValue: Clone> Clone for SelectOption<TValue>
impl<TValue: Clone> Clone for SelectOption<TValue>
Source§fn clone(&self) -> SelectOption<TValue>
fn clone(&self) -> SelectOption<TValue>
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 moreAuto Trait Implementations§
impl<TValue> Freeze for SelectOption<TValue>where
TValue: Freeze,
impl<TValue> RefUnwindSafe for SelectOption<TValue>where
TValue: RefUnwindSafe,
impl<TValue> Send for SelectOption<TValue>where
TValue: Send,
impl<TValue> Sync for SelectOption<TValue>where
TValue: Sync,
impl<TValue> Unpin for SelectOption<TValue>where
TValue: Unpin,
impl<TValue> UnsafeUnpin for SelectOption<TValue>where
TValue: UnsafeUnpin,
impl<TValue> UnwindSafe for SelectOption<TValue>where
TValue: UnwindSafe,
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