pub struct UiMultiChoiceItem {
pub hidden_uid: UiStringIndex,
pub user_facing_value: String,
}Expand description
DropDownList is made for a HTML Select object (hopefully generic enough to apply elsewhere) The intention is to attach a uid value hidden from user to evey value that Rust can verify and keep track of before it passes into the unknown of ffi
At the moment I’m letting the UI hold the selected state
Fields§
§user_facing_value: StringTrait Implementations§
Source§impl Clone for UiMultiChoiceItem
impl Clone for UiMultiChoiceItem
Source§fn clone(&self) -> UiMultiChoiceItem
fn clone(&self) -> UiMultiChoiceItem
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UiMultiChoiceItem
impl Debug for UiMultiChoiceItem
Source§impl<'de> Deserialize<'de> for UiMultiChoiceItem
impl<'de> Deserialize<'de> for UiMultiChoiceItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UiMultiChoiceItem
impl RefUnwindSafe for UiMultiChoiceItem
impl Send for UiMultiChoiceItem
impl Sync for UiMultiChoiceItem
impl Unpin for UiMultiChoiceItem
impl UnwindSafe for UiMultiChoiceItem
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