pub struct SelectSearch<K, V>{
pub value: Value<K>,
pub options: Computed<HashMap<K, V>>,
pub params: SelectSearchParams,
}Expand description
Input that searches for entered query in provided item list, based on HashMap<K, V>.
Fields§
§value: Value<K>Currently selected value
options: Computed<HashMap<K, V>>List of possible values
params: SelectSearchParamsComponent behavior/display parameters
Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for SelectSearch<K, V>
impl<K, V> !RefUnwindSafe for SelectSearch<K, V>
impl<K, V> !Send for SelectSearch<K, V>
impl<K, V> !Sync for SelectSearch<K, V>
impl<K, V> Unpin for SelectSearch<K, V>
impl<K, V> !UnwindSafe for SelectSearch<K, V>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more