pub struct AutoCompleteSelector<T: 'static>(/* private fields */);Expand description
Represents the selector used by the AutoCompleteBox control to
determine how the specified text should be modified with an item.
The function takes the string used as the basis for filtering and the
selected item that should be combined with it, and returns the modified
text that will be used by the control. T is the type used for
selecting: the text form of an item (Option<String>) or the item
itself (BoxedValue).
A selector is a reference: copies compare equal to what they were copied from, two selectors made from the same function do not.
Implementations§
Trait Implementations§
Source§impl<T: 'static> Clone for AutoCompleteSelector<T>
impl<T: 'static> Clone for AutoCompleteSelector<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for AutoCompleteSelector<T>
impl<T> !Send for AutoCompleteSelector<T>
impl<T> !Sync for AutoCompleteSelector<T>
impl<T> !UnwindSafe for AutoCompleteSelector<T>
impl<T> Freeze for AutoCompleteSelector<T>
impl<T> Unpin for AutoCompleteSelector<T>
impl<T> UnsafeUnpin for AutoCompleteSelector<T>
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more