pub struct DropdownConfig {
pub options: Vec<String>,
}Expand description
Dropdown/Select configuration Value is stored as f32 index (0.0, 1.0, 2.0, …)
Fields§
§options: Vec<String>List of option labels (e.g., [“Normal”, “Add”, “Subtract”])
Trait Implementations§
Source§impl Clone for DropdownConfig
impl Clone for DropdownConfig
Source§fn clone(&self) -> DropdownConfig
fn clone(&self) -> DropdownConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DropdownConfig
impl RefUnwindSafe for DropdownConfig
impl Send for DropdownConfig
impl Sync for DropdownConfig
impl Unpin for DropdownConfig
impl UnwindSafe for DropdownConfig
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