pub struct ComboProps {
pub items: Vec<String>,
pub text: String,
pub placeholder: String,
}Expand description
Full props (realize). items seeds the dropdown, text the entry; placeholder is the
empty-state prompt (fixed at build). After build, items and text change via ComboPatch.
Fields§
§items: Vec<String>§text: String§placeholder: StringTrait Implementations§
Source§impl Clone for ComboProps
impl Clone for ComboProps
Source§fn clone(&self) -> ComboProps
fn clone(&self) -> ComboProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComboProps
impl Debug for ComboProps
Source§impl Default for ComboProps
impl Default for ComboProps
Source§fn default() -> ComboProps
fn default() -> ComboProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for ComboProps
impl PartialEq for ComboProps
impl StructuralPartialEq for ComboProps
Auto Trait Implementations§
impl Freeze for ComboProps
impl RefUnwindSafe for ComboProps
impl Send for ComboProps
impl Sync for ComboProps
impl Unpin for ComboProps
impl UnsafeUnpin for ComboProps
impl UnwindSafe for ComboProps
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