Struct patternfly_yew::components::select::SimpleSelectProperties
source · 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§fn eq(&self, other: &SimpleSelectProperties<T>) -> bool
fn eq(&self, other: &SimpleSelectProperties<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<T> Properties for SimpleSelectProperties<T>
impl<T> Properties for SimpleSelectProperties<T>
impl<T> StructuralPartialEq for SimpleSelectProperties<T>
Auto Trait Implementations§
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§
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.