Struct yew_autocomplete::Props
source · 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: boolTrait Implementations§
source§impl<T: PartialEq + PartialEq> PartialEq<Props<T>> for Props<T>
impl<T: PartialEq + PartialEq> PartialEq<Props<T>> for Props<T>
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> !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> 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.