pub struct SimpleSelectProperties<T>{
pub placeholder: Option<String>,
pub entries: Vec<T>,
pub selected: Option<T>,
pub onselect: Callback<T>,
}Expand description
Properties for SimpleSelect.
Fields§
§placeholder: Option<String>§entries: Vec<T>§selected: Option<T>§onselect: Callback<T>Trait Implementations§
Source§impl<T> PartialEq for SimpleSelectProperties<T>
impl<T> PartialEq for SimpleSelectProperties<T>
Source§impl<T> Properties for SimpleSelectProperties<T>
impl<T> Properties for SimpleSelectProperties<T>
impl<T> StructuralPartialEq for SimpleSelectProperties<T>
Auto Trait Implementations§
impl<T> Freeze for SimpleSelectProperties<T>where
T: Freeze,
impl<T> !RefUnwindSafe for SimpleSelectProperties<T>
impl<T> !Send for SimpleSelectProperties<T>
impl<T> !Sync for SimpleSelectProperties<T>
impl<T> Unpin for SimpleSelectProperties<T>where
T: Unpin,
impl<T> !UnwindSafe for SimpleSelectProperties<T>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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.