pub struct Props<T: PartialEq> {
pub resolve_items: ItemResolver<T>,
pub onchange: Callback<Vec<T>>,
pub children: Children,
pub auto: bool,
pub show_selected: bool,
pub multi_select: bool,
}
Expand description
Properties of the Autocomplete component
Fields§
§resolve_items: ItemResolver<T>
§onchange: Callback<Vec<T>>
§children: Children
§auto: bool
§show_selected: bool
§multi_select: bool
Trait Implementations§
Source§impl<T: PartialEq> Properties for Props<T>
impl<T: PartialEq> Properties for Props<T>
impl<T: PartialEq> StructuralPartialEq for Props<T>
Auto Trait Implementations§
impl<T> Freeze for Props<T>
impl<T> !RefUnwindSafe for Props<T>
impl<T> !Send for Props<T>
impl<T> !Sync for Props<T>
impl<T> Unpin for Props<T>
impl<T> !UnwindSafe for Props<T>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.