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
Source§fn eq(&self, other: &ComboProps) -> bool
fn eq(&self, other: &ComboProps) -> bool
Tests for
self and other values to be equal, and is used by ==.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§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more