pub struct SearchProps {
pub text: String,
pub placeholder: String,
}Expand description
Full props (realize). text seeds the control; placeholder is the empty-state prompt. Only
text changes after build (via SearchPatch::SetText); the placeholder is fixed at build.
Fields§
§text: String§placeholder: StringTrait Implementations§
Source§impl Clone for SearchProps
impl Clone for SearchProps
Source§fn clone(&self) -> SearchProps
fn clone(&self) -> SearchProps
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 SearchProps
impl Debug for SearchProps
Source§impl Default for SearchProps
impl Default for SearchProps
Source§fn default() -> SearchProps
fn default() -> SearchProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for SearchProps
impl PartialEq for SearchProps
impl StructuralPartialEq for SearchProps
Auto Trait Implementations§
impl Freeze for SearchProps
impl RefUnwindSafe for SearchProps
impl Send for SearchProps
impl Sync for SearchProps
impl Unpin for SearchProps
impl UnsafeUnpin for SearchProps
impl UnwindSafe for SearchProps
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