pub trait SearchFieldBuilder: Sized {
// Required method
fn placeholder<M>(self, t: impl IntoText<M>) -> Self;
}Expand description
Builder methods of SearchField, reachable through a Decorated (docs/api-style.md “Typed builders and erasure”): generic modifiers and typed ones chain in any order.
Required Methods§
Sourcefn placeholder<M>(self, t: impl IntoText<M>) -> Self
fn placeholder<M>(self, t: impl IntoText<M>) -> Self
The empty-state prompt shown when the field has no text (a constant, Signal<String>, or
closure, evaluated once for the initial value; the placeholder is not reactive after build).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".