Skip to main content

ComboBoxBuilder

Trait ComboBoxBuilder 

Source
pub trait ComboBoxBuilder: Sized {
    // Required method
    fn placeholder<M>(self, t: impl IntoText<M>) -> Self;
}
Expand description

Builder methods of ComboBox, reachable through a Decorated (docs/api-style.md “Typed builders and erasure”): generic modifiers and typed ones chain in any order.

Required Methods§

Source

fn placeholder<M>(self, t: impl IntoText<M>) -> Self

The empty-state prompt shown while the entry has no text (a constant, Signal<String>, or closure, evaluated once for the initial value; not reactive after build).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ComboBoxBuilder for ComboBox

Source§

impl<DecoratedInner> ComboBoxBuilder for Decorated<DecoratedInner>
where DecoratedInner: ComboBoxBuilder + Piece,