Struct patternfly_yew::SelectOptionProps [−][src]
pub struct SelectOptionProps<K> where
K: Clone + PartialEq + Display + Debug, {
pub value: K,
pub id: Option<String>,
pub description: Option<String>,
pub selected: bool,
pub onclick: Option<Callback<K>>,
// some fields omitted
}
Fields
value: K
id: Option<String>
description: Option<String>
selected: bool
onclick: Option<Callback<K>>
Trait Implementations
impl<K> From<SelectOptionProps<K>> for SelectChild<K> where
K: Clone + PartialEq + Display + Debug,
impl<K> From<SelectOptionProps<K>> for SelectChild<K> where
K: Clone + PartialEq + Display + Debug,
Performs the conversion.
impl<K: PartialEq> PartialEq<SelectOptionProps<K>> for SelectOptionProps<K> where
K: Clone + PartialEq + Display + Debug,
impl<K: PartialEq> PartialEq<SelectOptionProps<K>> for SelectOptionProps<K> where
K: Clone + PartialEq + Display + Debug,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<K> StructuralPartialEq for SelectOptionProps<K> where
K: Clone + PartialEq + Display + Debug,
Auto Trait Implementations
impl<K> !RefUnwindSafe for SelectOptionProps<K>
impl<K> !Send for SelectOptionProps<K>
impl<K> !Sync for SelectOptionProps<K>
impl<K> Unpin for SelectOptionProps<K> where
K: Unpin,
impl<K> !UnwindSafe for SelectOptionProps<K>
Blanket Implementations
Mutably borrows from an owned value. Read more